From a7ecb4b14c2e5a56f425f46decc9c203580edd35 Mon Sep 17 00:00:00 2001 From: qushaowei <qushaowei@163.com> Date: 星期四, 25 七月 2024 10:56:56 +0800 Subject: [PATCH] 小修改 --- lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/PrecisionInspectionMapper.xml | 36 ++++++++++++++++++++++++++++++++++++ 1 files changed, 36 insertions(+), 0 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 05f68b5..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 @@ -2,4 +2,40 @@ <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> <mapper namespace="org.jeecg.modules.eam.mapper.PrecisionInspectionMapper"> + <select id="getPrecisionInspectionList" parameterType="Map" resultType="Map"> + SELECT + t1.id, + t1.maintenance_order_id AS maintenanceOrderId, + t2.depart_name AS maintenanceUnitName, + t3.realname AS precisionInspectionUserName, + t4.realname AS repairDirectorUserName, + t5.realname AS equipmentInspectorUserName, + t6.realname AS useUnitDirectorUserName, + t7.realname AS equipmentInspectorSignUserName, + t1.spare_part as sparePart, + ISNULL(t1.each_tolerance,'0') AS eachTolerance, + ISNULL(t1.part_tolerance,'0') AS partTolerance, + ISNULL(t1.process_pass,'0') AS processPass, + 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, + t10.depart_name AS manageName + FROM + mom_eam_precision_inspection t1 + LEFT JOIN sys_depart t2 ON t1.maintenance_unit = t2.id + LEFT JOIN sys_user t3 ON t1.precision_inspection_user = t3.id + LEFT JOIN sys_user t4 ON t1.repair_director_user = t4.id + LEFT JOIN sys_user t5 ON t1.equipment_inspector_user = t5.id + 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 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