Pārlūkot izejas kodu

feat: 商品进销存

Joburgess 5 gadi atpakaļ
vecāks
revīzija
b68f842143

+ 2 - 2
mec-biz/src/main/resources/config/mybatis/GoodsMapper.xml

@@ -340,10 +340,10 @@
         </foreach>
     </select>
     <select id="getInnerRepertoryWarnName" resultType="java.lang.String">
-        SELECT GROUP_CONCAT( DISTINCT name_) FROM goods WHERE stock_count_ &lt;= #{innerRepertoryWarnNum} AND stock_warning_ = 0 AND status_ = 1 AND complement_goods_id_list_ IS NULL
+        SELECT GROUP_CONCAT( DISTINCT name_) FROM goods WHERE stock_count_ &lt;= #{innerRepertoryWarnNum} AND stock_warning_ = 1 AND complement_goods_id_list_ IS NULL
     </select>
     <select id="getOuterRepertoryWarnName" resultType="java.lang.String">
-        SELECT GROUP_CONCAT( DISTINCT name_) FROM goods WHERE tax_stock_count_ &lt;= #{outerRepertoryWarnNum} AND stock_warning_ = 0 AND status_ = 1 AND complement_goods_id_list_ IS NULL
+        SELECT GROUP_CONCAT( DISTINCT name_) FROM goods WHERE tax_stock_count_ &lt;= #{outerRepertoryWarnNum} AND stock_warning_ = 1 AND complement_goods_id_list_ IS NULL
     </select>
 
     <select id="getWithComplementGoodsAndStatus" resultMap="Goods">