From 306945ecc97e77659dce5f4562e2ae2ef1f90315 Mon Sep 17 00:00:00 2001
From: CZT <czt18638530771@163.com>
Date: 星期六, 26 八月 2023 12:18:35 +0800
Subject: [PATCH] 优化调整环流风机操作弹窗

---
 igds-core/src/main/java/com/ld/igds/common/impl/CommonDataServiceImpl.java |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/igds-core/src/main/java/com/ld/igds/common/impl/CommonDataServiceImpl.java b/igds-core/src/main/java/com/ld/igds/common/impl/CommonDataServiceImpl.java
index 9d99a9f..3cc6230 100644
--- a/igds-core/src/main/java/com/ld/igds/common/impl/CommonDataServiceImpl.java
+++ b/igds-core/src/main/java/com/ld/igds/common/impl/CommonDataServiceImpl.java
@@ -157,7 +157,7 @@
         List<DepotConf> data = getCacheDepotConf(companyId);
         if (null == data) return null;
 
-        return data.stream().filter(item -> item.getGrainSer().equals(serId))
+        return data.stream().filter(item -> (serId.equals(item.getGrainSer()) || serId.equals(item.getGasSer()) || serId.equals(item.getEsSer()) ))
                 .findAny().orElse(null);
     }
 
@@ -330,6 +330,7 @@
             param.setCompanyId(store.getCompanyId());
             param.setDepotId(store.getDepotId());
             param.setWeight(store.getStorageReal());
+            param.setDepotStatus(store.getDepotStatus());
 
             commonMapper.updateDepotStorage(param);
         }

--
Gitblit v1.9.3