From 03c894b105bff46879625b67cdebc8c2d947d29f Mon Sep 17 00:00:00 2001
From: ZengTao <2773468879@qq.com>
Date: 星期四, 22 八月 2024 11:31:24 +0800
Subject: [PATCH] 修改流程卡打印样式,根据线路添加在磨边队列查不到时查所有线队列数据

---
 hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/job/Downpush.java |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/job/Downpush.java b/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/job/Downpush.java
index c65abed..0cc97af 100644
--- a/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/job/Downpush.java
+++ b/hangzhoumesParent/moduleService/UnLoadGlassModule/src/main/java/com/mes/job/Downpush.java
@@ -6,8 +6,10 @@
 import com.mes.common.config.Const;
 import com.mes.common.utils.RedisUtil;
 import com.mes.downglassinfo.entity.DownGlassInfo;
+import com.mes.downglassinfo.entity.DownGlassTask;
 import com.mes.downglassinfo.entity.request.DownGlassInfoRequest;
 import com.mes.downglassinfo.service.DownGlassInfoService;
+import com.mes.downglassinfo.service.DownGlassTaskService;
 import com.mes.downstorage.service.DownStorageCageService;
 import com.mes.downworkstation.entity.DownWorkstation;
 import com.mes.downworkstation.service.DownWorkstationService;
@@ -34,6 +36,8 @@
     private DownStorageCageService downStorageCageService;
     @Autowired
     private DownGlassInfoService downGlassInfoService;
+    @Autowired
+    private DownGlassTaskService downGlassTaskService;
 
     @Autowired
     private RedisUtil redisUtil;
@@ -143,6 +147,14 @@
             autoPrint = redisUtil.getCacheObject("autoPrint");
         }
         jsonObject4.append("autoPrint", autoPrint);
+        //浜哄伐涓嬬墖浣嶇疆鏈�鍚庝竴鐗�
+//        DownGlassTask downGlassTask=downGlassTaskService.getOne(
+//          new LambdaQueryWrapper<DownGlassTask>()
+//                  .eq(DownGlassTask::getEndCell,Const.G13_WORK_STATION)
+//                  .orderByDesc(DownGlassTask::getGlassId)
+//                  .first("top 1")
+//        );
+//        jsonObject4.append("downGlassTask", downGlassTask);
 
         ArrayList<WebSocketServer> sendwServer4 = WebSocketServer.sessionMap.get("unloadglass");
         if (sendwServer4 != null) {

--
Gitblit v1.8.0