소스 검색

feat: 商品进销存

Joburgess 5 년 전
부모
커밋
b68f842143
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      mec-biz/src/main/resources/config/mybatis/GoodsMapper.xml

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