From 6c8973d78b04b1aa132dccbd478ba8abbcf2b6c1 Mon Sep 17 00:00:00 2001
From: liding <756868258@qq.com>
Date: 星期五, 25 四月 2025 09:10:21 +0800
Subject: [PATCH] 1.国产网分仪 2.可靠性计划成品计划
---
inspect-server/src/main/resources/mapper/InsSampleMapper.xml | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml
index 726fbd1..b48dcd5 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>
@@ -87,6 +88,8 @@
<result property="comValue" column="com_value" jdbcType="VARCHAR"/>
<result property="equipValue" column="equip_value" jdbcType="VARCHAR"/>
<result property="equipName" column="equip_name" jdbcType="VARBINARY"/>
+ <result property="testStartTime" column="test_start_time" jdbcType="VARBINARY"/>
+ <result property="testEndTime" column="test_end_time" jdbcType="VARBINARY"/>
</resultMap>
<resultMap id="sampleVo" type="com.ruoyi.inspect.vo.SampleVo">
@@ -159,14 +162,19 @@
ip.dic,
ip.sort,
ip.cable_tag,
- ip.structure_item_parameter_id
+ ip.structure_item_parameter_id,
+ ip.check_user_id,
+ ip.radius,
+ ipr.test_start_time,
+ ipr.test_end_time
</sql>
<select id="findInsSampleAndOrder" resultType="com.ruoyi.inspect.vo.InsOrderPlanVO">
select * from(
select * from(
- SELECT a.*,ios.ins_state,ios.verify_tell,verify_user
+ SELECT a.*,ios.ins_state,ios.verify_tell,verify_user,
+ (select name from user where user.id = verify_user) AS check_name
FROM
(
SELECT
@@ -518,6 +526,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