Browse Source

新增原料库存同步功能

hfxc226 1 tháng trước cách đây
mục cha
commit
d479e81a5b

+ 1 - 1
platform-service/src/main/java/com/platform/service/produce/impl/ProduceRecordServiceImpl.java

@@ -173,7 +173,7 @@ public class ProduceRecordServiceImpl extends BaseServiceImpl<ProduceRecordMappe
         log.info("str: " + str);
         ProduceRecord record = new ProduceRecord();
         String[] strs = str.split(",");
-        if (strs[0].trim().isEmpty()) {
+        if (strs[0].trim().isEmpty() || strs[0].trim().equals("总计")) {
             return null;
         }