Ver código fonte

购物车列表查询sql添加根据促销方案id查询

hu 1 ano atrás
pai
commit
99e9d04a2c

+ 1 - 1
src/custom/restcontroller/sale/shoppingcart/SQL/购物车列表.sql

@@ -29,5 +29,5 @@ FROM sa_shoppingcart t1
          LEFT JOIN plm_unitgroup t5 ON t5.unitgroupid = t3.unitgroupid AND t5.siteid = t1.siteid
          LEFT JOIN plm_unit t6 ON t6.unitid = t5.auxunitid AND t5.siteid = t1.siteid
 WHERE t1.sys_enterpriseid = $sys_enterpriseid$
-  AND t1.siteid = $siteid$ and t3.istool = $istool$
+  AND t1.siteid = $siteid$ and t3.istool = $istool$ and t1.sa_promotionid=$sa_promotionid$
   and $where$