浏览代码

代码提交优化

yjwang 3 天之前
父节点
当前提交
02c9a5adbb
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      fs-service/src/main/resources/mapper/hisStore/FsStoreProductScrmMapper.xml

+ 2 - 1
fs-service/src/main/resources/mapper/hisStore/FsStoreProductScrmMapper.xml

@@ -748,10 +748,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
                 product_name,
                 COUNT(DISTINCT store_id) AS storeCountAll
             FROM fs_store_product_scrm
-            WHERE is_del = 0 AND is_show = 1
+            WHERE is_del = 0 AND is_show = 1 AND is_audit = 1
             GROUP BY product_name
         ) t_all ON t_all.product_name = fsp.product_name
         WHERE fsp.is_del = 0
+          AND fsp.is_audit = 1
           AND fsp.is_show = 1
           AND fsp.tui_cate_id = #{param.tuiCateId}
         <if test="param.isDisplay != null">