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