소스 검색

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

hu 2 년 전
부모
커밋
99e9d04a2c
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/custom/restcontroller/sale/shoppingcart/SQL/购物车列表.sql

+ 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$