| | |
| | | package cn.lihu.jh.module.ecg.dal.mysql.devrent; |
| | | |
| | | import java.time.LocalDate; |
| | | import java.util.*; |
| | | |
| | | import cn.lihu.jh.framework.common.pojo.PageResult; |
| | |
| | | |
| | | DevRentDO getRentByState(DevRentSearchReqVO reqVO ); |
| | | |
| | | @Select("select * from lihu.dev_rent where state=#{state} and pat_id=#{patId}") |
| | | @Select("select * from lihu.dev_rent where state=#{state} and pat_id=#{patId} and to_days(create_time)=to_days(now())") |
| | | List<DevRentDO> selectByPatIdAndState(@Param("patId") String patId, @Param("state") Integer state); |
| | | |
| | | |
| | | @Select("<script>" + |
| | | "SELECT paid FROM lihu.dev_rent " + |