| | |
| | | |
| | | 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> " + |