From c659ff50dfce120d02fa906a33f7b4ab20ffddc2 Mon Sep 17 00:00:00 2001
From: Lius <Lius2225@163.com>
Date: 星期一, 11 十一月 2024 11:37:21 +0800
Subject: [PATCH] update
---
lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PrecisionInspectionMapper.xml | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PrecisionInspectionMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PrecisionInspectionMapper.xml
index 9d5059c..0c029d4 100644
--- a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PrecisionInspectionMapper.xml
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PrecisionInspectionMapper.xml
@@ -16,13 +16,15 @@
ISNULL(t1.each_tolerance,'0') AS eachTolerance,
ISNULL(t1.part_tolerance,'0') AS partTolerance,
ISNULL(t1.process_pass,'0') AS processPass,
- ISNULL(t1.meet_process_require,'0') AS meetProcessRequire,
ISNULL(t1.judgment_result,'qualified') AS judgmentResult,
+ t1.meet_process_require AS meetProcessRequire,
+ t1.meet_process_require_remark AS meetProcessRequireRemark,
t1.remark,
t8.name AS equipmentName,
t8.model AS equipmentModel,
t8.num AS equipmentNum,
- t9.depart_name AS useUnitName
+ t9.depart_name AS useUnitName,
+ t10.depart_name AS manageName
FROM
mom_eam_precision_inspection t1
LEFT JOIN sys_depart t2 ON t1.maintenance_unit = t2.id
@@ -32,7 +34,8 @@
LEFT JOIN sys_user t6 ON t1.use_unit_director_user = t6.id
LEFT JOIN sys_user t7 ON t1.equipment_inspector_sign_user = t7.id
LEFT JOIN mom_eam_equipment t8 ON t1.equipment_id = t8.id
- LEFT JOIN sys_depart t9 ON t1.use_unit = t9.id
+ LEFT JOIN sys_depart t9 ON t8.use_id = t9.id
+ left join sys_depart t10 on t8.manage_id = t9.id
where t1.del_flag = '0' and t1.maintenance_order_id = #{maintenanceOrderId}
</select>
</mapper>
\ No newline at end of file
--
Gitblit v1.9.3