eight
2025-04-15 01a81beea99c0298a3b6178c7796f4c27b30c6c7
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/devrent/DevRentMapper.java
@@ -19,6 +19,7 @@
    default PageResult<DevRentDO> selectPage(DevRentPageReqVO reqVO) {
        return selectPage(reqVO, new LambdaQueryWrapperX<DevRentDO>()
                .gtIfPresent(DevRentDO::getState, reqVO.getState())
                .eqIfPresent(DevRentDO::getDevId, reqVO.getDevId())
                .eqIfPresent(DevRentDO::getPatId, reqVO.getPatId())
                .likeIfPresent(DevRentDO::getPatName, reqVO.getPatName())
@@ -47,7 +48,7 @@
            "  <if test=\"patId != null and patId != ''\"> " +
            "    and pat_id = #{patId} " +
            "  </if> " +
            "  <if test=\"checkType != null and checkType != ''\"> " +
            "  <if test=\"checkType != null \"> " +
            "    and check_type = #{checkType} " +
            "  </if> " +
            "</where> " +
@@ -71,4 +72,6 @@
            "</script>")
    List<Integer> getPaidInfo(@Param("rentIdList")List<Long> rentIdList);
    @Update("update lihu.dev_rent set paid = #{paid} where id = #{rentId};")
    Integer setPaid(@Param("rentId") Long rentId, @Param("paid") Integer paid);
}