| | |
| | | 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 |
| | |
| | | .orderByDesc(DevRentDO::getId)); |
| | | } |
| | | |
| | | @Select("select * from lihu.dev_rent where pat_id=#{patId} and dev_id=#{devId} order by rent_time desc limit 1") |
| | | DevRentDO getLatestRent(@Param("patId") String patId, @Param("devId") String devId); |
| | | |
| | | |
| | | } |