From 4d178decb3f57cb6208a211d9421e427f28efb0a Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期三, 04 十二月 2024 08:46:36 +0800
Subject: [PATCH] 1、fixbug:玻璃出片顺序错乱、 2、调整任务和对列表保存顺序、确保现有队列数据后有任务,防止先生成任务没有出片队列任务被自动完成的情况发生 3、定时任务更新已出片对数

---
 hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassOutRelationInfoServiceImpl.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassOutRelationInfoServiceImpl.java b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassOutRelationInfoServiceImpl.java
index 7f54fa2..9b7ffb7 100644
--- a/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassOutRelationInfoServiceImpl.java
+++ b/hangzhoumesParent/moduleService/howllowGlassModule/src/main/java/com/mes/hollow/service/impl/HollowGlassOutRelationInfoServiceImpl.java
@@ -62,7 +62,6 @@
         info.setTotalLayer(glassInfo.getTotalLayer());
         info.setState(Const.HOLLOW_FLOW_CARD_START);
         info.setTotalPairQuantity(totalPairQuantity);
-        this.save(info);
         List<HollowBigStorageCageDetails> hollowBigStorageCageDetailsList = hollowBigStorageCageDetailsService.queryOutGlassList(flowCardId, cell);
         int isPairCount = glassInfo.getTotalLayer() * totalPairQuantity;
         List<HollowGlassQueueInfo> hollowQueues = new ArrayList<>();
@@ -81,6 +80,7 @@
             }
         }
         hollowGlassQueueInfoService.saveBatch(hollowQueues);
+        this.save(info);
         return info;
     }
 }

--
Gitblit v1.8.0