选煤厂生产管理平台后台代码
dongyukun
2024-12-10 532d0b7f83815ebeb4be9aa1f7a6683ede831b6a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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));
    }
}