| | |
| | | .eqIfPresent(CheckTypeDO::getTimeslotBookNum, reqVO.getTimeslotBookNum()) |
| | | .eqIfPresent(CheckTypeDO::getTimeslotReservedNum, reqVO.getTimeslotReservedNum()) |
| | | .eqIfPresent(CheckTypeDO::getAffinityCheckTypes, reqVO.getAffinityCheckTypes()) |
| | | .orderByDesc(CheckTypeDO::getId)); |
| | | // 需求9:按「排序序号」升序展示(原先按 id 倒序,与业务排序无关) |
| | | .orderByAsc(CheckTypeDO::getSort) |
| | | .orderByAsc(CheckTypeDO::getValue)); |
| | | } |
| | | |
| | | default PageResult<CheckTypeDO> selectPageForCallingScreen(CheckTypePageReqVO reqVO) { |
| | |
| | | .eqIfPresent(CheckTypeDO::getTimeslotBookNum, reqVO.getTimeslotBookNum()) |
| | | .eqIfPresent(CheckTypeDO::getTimeslotReservedNum, reqVO.getTimeslotReservedNum()) |
| | | .eqIfPresent(CheckTypeDO::getAffinityCheckTypes, reqVO.getAffinityCheckTypes()) |
| | | .orderByDesc(CheckTypeDO::getId)); |
| | | // 需求9:按「排序序号」升序展示(原先按 id 倒序,与业务排序无关) |
| | | .orderByAsc(CheckTypeDO::getSort) |
| | | .orderByAsc(CheckTypeDO::getValue)); |
| | | } |
| | | |
| | | @Select("SELECT * FROM lihu.check_type;") |