From 537d302507bf5bdc6f6b81ece701abb6e8b6a1e1 Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期四, 20 十一月 2025 17:26:39 +0800
Subject: [PATCH] 工位改为默认查询所有状态
---
smart-man-boot/src/main/java/com/qianwen/smartman/modules/perf/service/impl/EmployeeSendServiceImpl.java | 18 ++++++++++--------
1 files changed, 10 insertions(+), 8 deletions(-)
diff --git a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/perf/service/impl/EmployeeSendServiceImpl.java b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/perf/service/impl/EmployeeSendServiceImpl.java
index c4f4bc8..a7a93b5 100644
--- a/smart-man-boot/src/main/java/com/qianwen/smartman/modules/perf/service/impl/EmployeeSendServiceImpl.java
+++ b/smart-man-boot/src/main/java/com/qianwen/smartman/modules/perf/service/impl/EmployeeSendServiceImpl.java
@@ -7,24 +7,26 @@
import org.slf4j.LoggerFactory;
import com.qianwen.smartman.common.constant.CommonConstant;
import com.qianwen.core.tool.utils.Func;
-import com.qianwen.smartman.modules.cps.dto.MachineExtDTO;
-import com.qianwen.smartman.modules.cps.service.IMachineService;
-import com.qianwen.smartman.modules.perf.forestClient.PerfForestClient;
+import com.qianwen.smartman.modules.smis.dto.MachineExtDTO;
+import com.qianwen.smartman.modules.smis.service.IMachineService;
+//import com.qianwen.smartman.modules.perf.forestClient.PerfForestClient;
import com.qianwen.smartman.modules.perf.service.IEmployeeSendService;
import com.qianwen.smartman.modules.sync.constant.QyWechatConstant;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Service;
+/**
+ * 鍙兘璇ョ被娌℃湁鐢ㄤ簡
+ */
@Service
-
public class EmployeeSendServiceImpl implements IEmployeeSendService {
private static final Logger log = LoggerFactory.getLogger(EmployeeSendServiceImpl.class);
private final IMachineService machineService;
- private final PerfForestClient forestClient;
+ //private final PerfForestClient forestClient;
- public EmployeeSendServiceImpl(final IMachineService machineService, final PerfForestClient forestClient) {
+ public EmployeeSendServiceImpl(final IMachineService machineService) {//, final PerfForestClient forestClient
this.machineService = machineService;
- this.forestClient = forestClient;
+ //this.forestClient = forestClient;
}
@@ -38,7 +40,7 @@
String dmpId = this.machineService.queryDateTypeState(wId);
if (Func.isNotBlank(dmpId)) {
try {
- String employeeOnOff = this.forestClient.perfEmployeeOnOff(ext.getExtendId(), dmpId);
+ String employeeOnOff = "{}";//yangys 鍘绘帀浜嗭紝241030this.forestClient.perfEmployeeOnOff(ext.getExtendId(), dmpId);
JSONObject jsonObject = JSON.parseObject(employeeOnOff);
Boolean success = jsonObject.getBoolean(QyWechatConstant.CALLBACK_RESULT);
if (Boolean.FALSE.equals(success)) {
--
Gitblit v1.9.3