package com.iailab.module.model.mcs.sche.dao; import com.iailab.framework.common.pojo.PageResult; import com.iailab.framework.mybatis.core.mapper.BaseMapperX; import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX; import com.iailab.module.model.mcs.sche.entity.StScheduleEntity; import com.iailab.module.model.mcs.sche.vo.StSchedulePageReqVO; import org.apache.ibatis.annotations.Mapper; /** * @author PanZhibao * @date 2021年07月19日 17:54 */ @Mapper public interface StScheduleDao extends BaseMapperX { default PageResult selectPage(StSchedulePageReqVO reqVO) { return selectPage(reqVO, new LambdaQueryWrapperX() .likeIfPresent(StScheduleEntity::getName, reqVO.getName()) .orderByDesc(StScheduleEntity::getName)); } }