From 7841e82797b8553b62004be38801091273a2d952 Mon Sep 17 00:00:00 2001 From: chenrui <1187576398@qq.com> Date: 星期三, 09 四月 2025 17:46:23 +0800 Subject: [PATCH] 成品检验查询功能开发 --- inspect-server/src/main/resources/mapper/InsSampleMapper.xml | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml index a918f7b..3f05f0f 100644 --- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml +++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml @@ -78,6 +78,7 @@ <result property="radius" column="radius"/> <result property="cableTag" column="cable_tag"/> <result property="structureItemParameterId" column="structure_item_parameter_id"/> + <result property="checkUserId" column="check_user_id"/> <collection property="insProductResult" resultMap="insProductResult"/> </resultMap> @@ -159,7 +160,8 @@ ip.dic, ip.sort, ip.cable_tag, - ip.structure_item_parameter_id + ip.structure_item_parameter_id, + ip.check_user_id </sql> @@ -515,6 +517,7 @@ select <include refid="getInsProducSql"/> from ins_product ip left join ins_product_result ipr on ip.id = ipr.ins_product_id + left join user ur ON ip.check_user_id = ur.id where ins_sample_id = #{id} and state = 1 and ip.son_laboratory = #{laboratory} -- Gitblit v1.9.3