package com.iailab.module.pms.production.work.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.pms.production.work.enity.DutyInfoEntity;
|
import com.iailab.module.pms.production.work.vo.DutyInfoPageReqVO;
|
import org.apache.ibatis.annotations.Mapper;
|
|
@Mapper
|
public interface DutyInfoDao extends BaseMapperX<DutyInfoEntity> {
|
|
default PageResult<DutyInfoEntity> selectPage(DutyInfoPageReqVO Entity) {
|
return selectPage(Entity, new LambdaQueryWrapperX<DutyInfoEntity>()
|
.orderByDesc(DutyInfoEntity::getCjsj));
|
}
|
}
|