From 5677ab158fb78d1267c16bbbf29eb690e0b4039f Mon Sep 17 00:00:00 2001
From: qushaowei <qushaowei@163.com>
Date: 星期三, 13 十二月 2023 16:53:39 +0800
Subject: [PATCH] Merge branch 'master' of http://117.34.109.166:18448/r/mdc_430 into develop

---
 lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/TechnologyStatusMapper.xml |   29 +++++++++++++++++++++++++++++
 1 files changed, 29 insertions(+), 0 deletions(-)

diff --git a/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/TechnologyStatusMapper.xml b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/TechnologyStatusMapper.xml
new file mode 100644
index 0000000..9ab33b3
--- /dev/null
+++ b/lxzn-module-eam/src/main/java/org/jeecg/modules/eam/mapper/xml/TechnologyStatusMapper.xml
@@ -0,0 +1,29 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!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.TechnologyStatusMapper">
+
+    <select id="getTechnologyStatusList"  parameterType="Map" resultType="Map">
+        SELECT
+            t1.id AS id,
+            t1.order_id AS orderId,
+            t1.technology_status AS technologyStatus,
+            t1.appraiser,
+            t1.leadership,
+            ISNULL( t1.result_1, 0 ) AS result_1,
+            ISNULL( t1.result_2, 0 ) AS result_2,
+            ISNULL( t1.result_3, 0 ) AS result_3,
+            ISNULL( t1.result_4, 0 ) AS result_4,
+            ISNULL( t1.result_5, 0 ) AS result_5,
+            ISNULL( t1.result_6, 0 ) AS result_6,
+            ISNULL( t1.result_7, 0 ) AS result_7,
+            t1.receipts,
+            t2.num AS receiptsNum,
+            t3.item_text AS receiptsName,
+            t1.update_time AS updateTime
+        FROM
+            mom_eam_technology_status t1
+        LEFT JOIN sys_file_name t2 ON t1.receipts = t2.id
+        LEFT JOIN ( SELECT * FROM v_sys_dict WHERE dict_code = 'sys_file_name' ) t3 ON t3.item_value = t2.name
+        where t1.del_flag = '0' and t1.order_id = #{orderId}
+    </select>
+</mapper>
\ No newline at end of file

--
Gitblit v1.9.3