zhijiezhao 10 tháng trước cách đây
mục cha
commit
8643f12639

+ 1 - 1
src/main/resources/mappings/modules/product/CmPromotionMapper.xml

@@ -203,7 +203,7 @@
                 LEFT JOIN cm_promotions cp on cpp.promotionsId = cp.id
                 LEFT JOIN cm_promotions cp on cpp.promotionsId = cp.id
                 <where>
                 <where>
                     cp.type = #{promotionType}
                     cp.type = #{promotionType}
-                    AND cp.delFlag != '2'
+                    AND cp.delFlag = 0
                     AND cpp.productId != 0
                     AND cpp.productId != 0
                     <if test="delIdList != null and delIdList.size > 0">
                     <if test="delIdList != null and delIdList.size > 0">
                         AND cpp.productId NOT IN
                         AND cpp.productId NOT IN