From 09d162f650213d4d48c611d0d8ce4aa7628daf76 Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期二, 18 六月 2024 16:35:59 +0800 Subject: [PATCH] 报告生成添加附件 --- inspect-server/src/main/resources/mapper/InsProductMapper.xml | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/InsProductMapper.xml b/inspect-server/src/main/resources/mapper/InsProductMapper.xml index e3b2e1e..b877783 100644 --- a/inspect-server/src/main/resources/mapper/InsProductMapper.xml +++ b/inspect-server/src/main/resources/mapper/InsProductMapper.xml @@ -87,4 +87,15 @@ where ip.ins_sample_id = #{sampleId} and ip.ins_result is not null </select> + <select id="selectFiberInsProduct" resultType="com.yuanchu.mom.pojo.InsProduct"> + select * from ins_product + where state = 1 + and (ins_fibers_id is not null or ins_fiber_id is not null) + and ins_result is null + and son_laboratory = #{laboratory} + and ins_sample_id in + <foreach collection="ids" index="index" item="item" open="(" separator="," close=")"> + #{item} + </foreach> + </select> </mapper> -- Gitblit v1.9.3