From 835951395f01aba7ab567d3a6c7b5450b4e54a1b Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期三, 26 六月 2024 16:14:05 +0800 Subject: [PATCH] bug --- inspect-server/src/main/resources/mapper/InsSampleMapper.xml | 4 +++- 1 files changed, 3 insertions(+), 1 deletions(-) diff --git a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml index 0138951..ea1827b 100644 --- a/inspect-server/src/main/resources/mapper/InsSampleMapper.xml +++ b/inspect-server/src/main/resources/mapper/InsSampleMapper.xml @@ -141,6 +141,7 @@ man_day, bsm, ask, + tell, `last_value`, ip.ins_result ip_ins_result, state, @@ -289,7 +290,7 @@ left join ins_product ip on isa.id = ip.ins_sample_id left join ins_product_result ipr on ip.id = ipr.ins_product_id left join ins_order io on io.id = ins_order_id - where ip.state = 1 + where ip.state = 1 and ins_order_id in <foreach collection="ids" open="(" close=")" item="id" separator=","> #{id} @@ -499,6 +500,7 @@ <result property="manDay" column="man_day" jdbcType="INTEGER"/> <result property="bsm" column="bsm" jdbcType="VARCHAR"/> <result property="ask" column="ask" jdbcType="VARCHAR"/> + <result property="tell" column="tell" jdbcType="VARCHAR"/> <result property="lastValue" column="last_value" jdbcType="VARCHAR"/> <result property="insResult" column="ip_ins_result" jdbcType="INTEGER"/> <result property="state" column="state" jdbcType="INTEGER"/> -- Gitblit v1.9.3