From 490df5d4d92877171076756af73a96dee1fc053f Mon Sep 17 00:00:00 2001
From: 严智鑫 <test>
Date: 星期三, 25 十二月 2024 16:03:25 +0800
Subject: [PATCH] 数据回传日志记录功能修改

---
 JiuMuMesParent/moduleService/DeviceInteractionModule/src/main/java/com/mes/md/controller/TaskingController.java |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/JiuMuMesParent/moduleService/DeviceInteractionModule/src/main/java/com/mes/md/controller/TaskingController.java b/JiuMuMesParent/moduleService/DeviceInteractionModule/src/main/java/com/mes/md/controller/TaskingController.java
index 8104108..156a2d2 100644
--- a/JiuMuMesParent/moduleService/DeviceInteractionModule/src/main/java/com/mes/md/controller/TaskingController.java
+++ b/JiuMuMesParent/moduleService/DeviceInteractionModule/src/main/java/com/mes/md/controller/TaskingController.java
@@ -11,6 +11,7 @@
 import com.mes.md.mapper.MachineMapper;
 import com.mes.md.mapper.TaskingMapper;
 import com.mes.md.service.ProjectService;
+import com.mes.md.service.TaskingLogService;
 import com.mes.md.service.TaskingService;
 import com.mes.utils.Result;
 import io.swagger.annotations.ApiOperation;
@@ -39,7 +40,8 @@
         private MachineMapper machineMapper;
         @Autowired
         private TaskingMapper taskingMapper;
-
+        @Autowired
+        private TaskingLogService taskingLogService;
         @Autowired
         private KBBTLensSortingMapper kBBTLensSortingMapper;
 
@@ -91,6 +93,7 @@
                         .eq(Tasking::getGlassState,"姝e父")
                         .eq(Tasking::getState,"绾夸笂")
                         .ne(Tasking::getWorkState,"瀹屽伐"));
+                taskingLogService.reportTaskingLog();
                 return Result.build(200,"鎴愬姛",deleteCount);
             }catch (Exception e){
                 return Result.build(199,"寮傚父",machine);

--
Gitblit v1.8.0