From 2c2413760b6467bf62402dba7338bd3bbcbd7341 Mon Sep 17 00:00:00 2001
From: huang <1532065656@qq.com>
Date: 星期二, 20 五月 2025 14:20:38 +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