浏览代码

杰生物料库存查询

home 2 年之前
父节点
当前提交
21e1beebc1

+ 0 - 2
hx-service/storage/src/main/java/com/fjhx/stock/mapper/StockWaterMapper.xml

@@ -77,8 +77,6 @@
         from stock_detail sd
         from stock_detail sd
                  inner join material m on sd.MaterialCode = m.code
                  inner join material m on sd.MaterialCode = m.code
         where sd.IsDelete = 0
         where sd.IsDelete = 0
-          and m.TechnologyType is not null
-          and m.TechnologyType != 4
     </select>
     </select>
 
 
     <select id="remainingTodayPage" resultType="java.util.LinkedHashMap">
     <select id="remainingTodayPage" resultType="java.util.LinkedHashMap">

+ 2 - 2
hx-service/storage/src/main/java/com/fjhx/stock/service/impl/StockWaterServiceImpl.java

@@ -427,8 +427,8 @@ public class StockWaterServiceImpl extends ServiceImpl<StockWaterMapper, StockWa
         // 工艺类型
         // 工艺类型
         String technologyType = condition.get("technologyType");
         String technologyType = condition.get("technologyType");
         if (ObjectUtil.isNotEmpty(technologyType)) {
         if (ObjectUtil.isNotEmpty(technologyType)) {
-            if (technologyType.equals("4")) {
-                wrapper.in("m.TechnologyType", 0, 1, 2);
+            if (technologyType.equals("5")) {
+                wrapper.in("m.TechnologyType", 0, 1, 2, 4);
             } else {
             } else {
                 wrapper.eq("m.TechnologyType", technologyType);
                 wrapper.eq("m.TechnologyType", technologyType);
             }
             }