From 09101577baa4b844e308238d1d4ac1972d660577 Mon Sep 17 00:00:00 2001
From: zss <zss@example.com>
Date: 星期三, 17 十二月 2025 16:47:22 +0800
Subject: [PATCH] 生成站点电路试验报告(天线)合并单元格
---
inspect-server/src/main/resources/mapper/InsOrderUserMapper.xml | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/inspect-server/src/main/resources/mapper/InsOrderUserMapper.xml b/inspect-server/src/main/resources/mapper/InsOrderUserMapper.xml
index 85237a3..3a7093a 100644
--- a/inspect-server/src/main/resources/mapper/InsOrderUserMapper.xml
+++ b/inspect-server/src/main/resources/mapper/InsOrderUserMapper.xml
@@ -66,6 +66,9 @@
left join ins_order_state ios on isa.id = ios.ins_sample_id
left join ins_order_user iou on ios.id = iou.ins_order_state_id
where isa.ins_order_id=#{id}
+ <if test="sampleId != null">
+ and isa.id=#{sampleId}
+ </if>
order by isa.id,ios.laboratory
</select>
</mapper>
--
Gitblit v1.9.3