|  |  | 
 |  |  |  | 
 |  |  |     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()) | 
 |  |  | 
 |  |  |             "  <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> " + | 
 |  |  | 
 |  |  |             "</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); | 
 |  |  | } |