From 37c501ef03f84a36329bc7f95ab175273c185497 Mon Sep 17 00:00:00 2001
From: zhangherong <571457620@qq.com>
Date: 星期二, 15 七月 2025 17:32:22 +0800
Subject: [PATCH] art: 技术状态鉴定工单-流程问题修改

---
 lxzn-module-eam/src/main/java/org/jeecg/modules/eam/service/impl/EamTechnicalStatusEvaluationOrderServiceImpl.java |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/service/impl/EamTechnicalStatusEvaluationOrderServiceImpl.java b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/service/impl/EamTechnicalStatusEvaluationOrderServiceImpl.java
index 7aab053..652121e 100644
--- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/service/impl/EamTechnicalStatusEvaluationOrderServiceImpl.java
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/service/impl/EamTechnicalStatusEvaluationOrderServiceImpl.java
@@ -343,7 +343,10 @@
                 values.put("comment", "鎶�鏈姸鎬侀壌瀹氭墽琛岀粨鏉�");
                 request.setComment("鎶�鏈姸鎬侀壌瀹氭墽琛岀粨鏉�");
                 //璁剧疆entity
-                if (parallelCompletion) {
+                if (CommonConstant.STATUS_1.equals(entity.getSafetyCheckCompleted())
+                        && CommonConstant.STATUS_1.equals(entity.getPrecisionCheckCompleted())
+                        && CommonConstant.STATUS_1.equals(entity.getOtherCheckCompleted())
+                        && parallelCompletion) {
                     //澶氫釜浠诲姟閮藉凡瀹屾垚涓旂淮淇涓讳换閮藉凡瀹℃壒閫氳繃,浼氱瀹屾垚锛岃繘琛岀淮淇伐绛惧瓧
                     userSelectors = sysUserService.selectOperatorList(equipment.getEquipmentCode(), equipment.getFactoryOrgCode(), BusinessCodeConst.PCR0002);
                     userApprovalList = userSelectors.stream().map(UserSelector::getUsername).collect(Collectors.toList());
@@ -430,7 +433,7 @@
                     entity.setOtherCheckCompleted(CommonConstant.STATUS_1);
                 } else if ("other_check_confirm".equals(flowMyBusiness.getTaskNameId()) && CommonConstant.STATUS_1.equals(entity.getOtherCheckCompleted())) {
                     values.put("otherCheckFlag", request.getOtherCheckConfirmResult());
-                    entity.setOtherCheckResult(request.getOtherCheckConfirmResult());
+                    entity.setOtherCheckConfirmResult(request.getOtherCheckConfirmResult());
                     entity.setOtherCheckConfirm(user.getUsername());
                     entity.setOtherCheckConfirmTime(new Date());
                     entity.setOtherCheckConfirmComment(request.getOtherCheckConfirmComment());

--
Gitblit v1.9.3