From 61f0ed42abb8b3a270f3dcefeff988da5e73a5fe Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期六, 09 九月 2023 11:55:05 +0800
Subject: [PATCH] 修改bug
---
inspection-server/src/main/resources/mapper/PlanMapper.xml | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
diff --git a/inspection-server/src/main/resources/mapper/PlanMapper.xml b/inspection-server/src/main/resources/mapper/PlanMapper.xml
index cd55aa7..cf40804 100644
--- a/inspection-server/src/main/resources/mapper/PlanMapper.xml
+++ b/inspection-server/src/main/resources/mapper/PlanMapper.xml
@@ -18,8 +18,11 @@
<result property="internal" column="internal"/>
<result property="testValue" column="testValue"/>
<result property="testState" column="testState"/>
+ <result property="uId" column="uId"/>
<result property="checker" column="checker"/>
+ <result property="isuId" column="isuId"/>
<result property="instrumentname" column="instrumentname"/>
+ <result property="classId" column="classId"/>
</resultMap>
<!--鏌ヨ妫�楠岃鍒�-->
<select id="selectAllPlan" resultMap="selectAllPlanMap">
@@ -36,7 +39,10 @@
internal,
test_value testValue,
test_state testState,
+ u.id uId,
u.name checker,
+ isu.id isuId,
+ isu.classify_id classId,
equipment_name instrumentname
from lims_laboratory.inspection_product ip
left join lims_laboratory.inspection_material im on ip.inspection_material_id = im.id
@@ -53,6 +59,9 @@
<if test="beginTime != null and endTime != null">
and i.start_time between #{beginTime} and #{endTime}
</if>
+ <if test="isLookMe != false and id != null">
+ and ip.user_id=#{id}
+ </if>
</where>
</select>
</mapper>
--
Gitblit v1.9.3