package com.iailab.module.model.mcs.pre.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.pre.entity.MmResultTableEntity; import com.iailab.module.model.mcs.pre.entity.MmResultTableEntity; import com.iailab.module.model.mcs.pre.vo.MmResultTablePageReqVO; import org.apache.ibatis.annotations.Mapper; /** * @author PanZhibao * @date 2021年04月23日 16:20 */ @Mapper public interface MmResultTableDao extends BaseMapperX { default PageResult selectPage(MmResultTablePageReqVO reqVO) { return selectPage(reqVO, new LambdaQueryWrapperX() .likeIfPresent(MmResultTableEntity::getTablename, reqVO.getTablename()) .orderByDesc(MmResultTableEntity::getTablename)); } }