eight
2024-09-24 91c60b946e0d2e8abc2c350598aa6d47ed28e83c
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/devrent/DevRentMapper.java
@@ -10,6 +10,7 @@
import cn.lihu.jh.module.ecg.controller.admin.devrent.vo.*;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.annotations.Update;
/**
 * 装机拆机 Mapper
@@ -34,6 +35,8 @@
                .orderByDesc(DevRentDO::getId));
    }
    DevRentDO getLatestRent(DevRentSearchReqVO reqVO );
    DevRentDO getDismantleRentByState(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);
}