From 72e3d6bb6c90d4d917d27f3cc26346aece060caa Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期三, 18 十二月 2024 15:30:50 +0800
Subject: [PATCH] 设备管理: 查询完善

---
 jh-module-ecg/jh-module-ecg-biz/src/main/resources/mapper/devrent/DevRentMapper.xml |   15 +--------------
 1 files changed, 1 insertions(+), 14 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 7d7380e..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,17 +9,4 @@
         鏂囨。鍙锛歨ttps://www.iocoder.cn/MyBatis/x-plugins/
      -->
 
-    <select id="getLatestRent" resultType="cn.lihu.jh.module.ecg.dal.dataobject.devrent.DevRentDO">
-        select * from lihu.dev_rent
-        <where>
-            <if test="devId != null and devId != ''">
-             and dev_id = #{devId}
-            </if>
-            <if test="patId != null and patId != ''">
-             and pat_id = #{patId}
-            </if>
-        </where>
-        order by rent_time desc limit 1
-    </select>
-
-</mapper>
\ No newline at end of file
+</mapper>

--
Gitblit v1.9.3