From 137e9fb1f28d213d2608c12e17ece1dd57cec452 Mon Sep 17 00:00:00 2001
From: eight <641137800@qq.com>
Date: 星期四, 26 九月 2024 11:50:02 +0800
Subject: [PATCH] update

---
 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/devrent/DevRentMapper.java |    8 +++++++-
 1 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/devrent/DevRentMapper.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/devrent/DevRentMapper.java
index b0a998f..87ed479 100644
--- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/devrent/DevRentMapper.java
+++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/devrent/DevRentMapper.java
@@ -8,6 +8,8 @@
 import cn.lihu.jh.module.ecg.dal.dataobject.devrent.DevRentDO;
 import org.apache.ibatis.annotations.Mapper;
 import cn.lihu.jh.module.ecg.controller.admin.devrent.vo.*;
+import org.apache.ibatis.annotations.Param;
+import org.apache.ibatis.annotations.Select;
 
 /**
  * 瑁呮満鎷嗘満 Mapper
@@ -32,4 +34,8 @@
                 .orderByDesc(DevRentDO::getId));
     }
 
-}
\ No newline at end of file
+    DevRentDO getRentByState(DevRentSearchReqVO reqVO );
+
+    @Select("select * from lihu.dev_rent where state=#{state} and pat_id=#{patId}")
+    List<DevRentDO> selectByPatIdAndState(@Param("patId") String patId, @Param("state") Integer state);
+}

--
Gitblit v1.9.3