From d40cde3bca854c21c869cb35d25ece4aa7dac265 Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期四, 10 四月 2025 16:43:34 +0800 Subject: [PATCH] 检查记录 排除 未检查的记录 --- jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/devrent/DevRentMapper.xml | 21 +-------------------- 1 files changed, 1 insertions(+), 20 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/devrent/DevRentMapper.xml b/jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/devrent/DevRentMapper.xml index 96b122b..cf9a770 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/devrent/DevRentMapper.xml +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/devrent/DevRentMapper.xml @@ -9,23 +9,4 @@ 鏂囨。鍙锛歨ttps://www.iocoder.cn/MyBatis/x-plugins/ --> - <select id="getRentByState" resultType="cn.lihu.jh.module.ecg.dal.dataobject.devrent.DevRentDO"> - select * from lihu.dev_rent - <where> - <if test="stateList != null"> - and state in ( - <foreach collection='stateList' separator=',' item='state'> - #{state} - </foreach> ) - </if> - <if test="devId != null and devId != ''"> - and dev_id = #{devId} - </if> - <if test="patId != null and patId != ''"> - and pat_id = #{patId} - </if> - </where> - limit 1 - </select> - -</mapper> \ No newline at end of file +</mapper> -- Gitblit v1.9.3