From 22899f74279a47f4ec79e1325f8489d948ced005 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期五, 15 九月 2023 17:24:44 +0800
Subject: [PATCH] 修改2.0 9.15
---
inspect-server/src/main/resources/mapper/ProcessInspectMapper.xml | 32 +++++++++++++++++---------------
1 files changed, 17 insertions(+), 15 deletions(-)
diff --git a/inspect-server/src/main/resources/mapper/ProcessInspectMapper.xml b/inspect-server/src/main/resources/mapper/ProcessInspectMapper.xml
index 9a96f0c..e18c187 100644
--- a/inspect-server/src/main/resources/mapper/ProcessInspectMapper.xml
+++ b/inspect-server/src/main/resources/mapper/ProcessInspectMapper.xml
@@ -41,6 +41,7 @@
<result property="specifications" column="specifications_model"/>
<result property="techfather" column="techfather"/>
<result property="techname" column="techname"/>
+ <result property="techId" column="tech_id"/>
<result property="punit" column="punit"/>
<result property="quantity" column="quantity"/>
<result property="presult" column="presult"/>
@@ -68,6 +69,7 @@
specifications_model,
techfather,
techname,
+ tech_id,
pi.unit punit,
quantity,
ii.id iid,
@@ -92,26 +94,26 @@
<!--鍒嗛〉鏌ヨ杩囩▼妫�楠屽崟鍒楄〃-->
<select id="selectProcessInspectsList" resultType="java.util.Map">
select process_inspect.id,
- order_number,
- material_code,
- material,
- specifications_model,
- techfather,
- techname,
- unit,
- quantity,
- DATE_FORMAT(process_inspect.create_time, '%Y-%m-%d') createTime,
- name,
- DATE_FORMAT(process_inspect.update_time, '%Y-%m-%d') updateTime,
- result
+ order_number,
+ material_code,
+ material,
+ specifications_model,
+ techfather,
+ techname,
+ unit,
+ quantity,
+ DATE_FORMAT(process_inspect.create_time, '%Y-%m-%d') createTime,
+ name,
+ DATE_FORMAT(process_inspect.update_time, '%Y-%m-%d') updateTime,
+ result
from mom_ocean.process_inspect
- left join mom_ocean.user on process_inspect.user_id = user.id
+ left join mom_ocean.user on process_inspect.user_id = user.id
where process_inspect.state = 1
<if test="techfather!=null and techfather!=''">
- and techfather like concat('%',#{techfather},'%')
+ and techfather like concat('%',#{techfather},'%')
</if>
<if test="name!=null and name!=''">
- and material like concat('%',#{name},'%')
+ and material like concat('%',#{name},'%')
</if>
<if test="result!=null ">
and result =#{result}
--
Gitblit v1.9.3