From 675ed4fa602e79e220e76fcdbc56e4630c0fb21c Mon Sep 17 00:00:00 2001 From: lsh <1> Date: 星期三, 17 七月 2024 17:17:40 +0800 Subject: [PATCH] # --- src/main/resources/mapper/BasJarMastMapper.xml | 14 ++++++++++++++ 1 files changed, 14 insertions(+), 0 deletions(-) diff --git a/src/main/resources/mapper/BasJarMastMapper.xml b/src/main/resources/mapper/BasJarMastMapper.xml index 6b72f0e..d713143 100644 --- a/src/main/resources/mapper/BasJarMastMapper.xml +++ b/src/main/resources/mapper/BasJarMastMapper.xml @@ -67,6 +67,20 @@ order by jar_loc_digit desc </select> + <select id="getJarMastByJarIdAndStatusListCharge" resultMap="BaseResultMap"> + select * from asr_bas_jar_mast + where 1=1 + and + ( + status not in + <foreach collection="statusList" item="status" index="index" open="(" close=")" separator=","> + #{status} + </foreach> + ) + and jar_regin = #{jarId} + order by jar_loc_digit desc + </select> + <select id="getJarMastByJarIdMax" resultMap="BaseResultMap"> select top 1 * from asr_bas_jar_mast where 1=1 -- Gitblit v1.9.1