选煤厂生产管理平台后台代码
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.ProdAccidentEntity;
import com.iailab.module.pms.production.work.vo.ProdAccidentPageReqVO;
import org.apache.ibatis.annotations.Mapper;
 
@Mapper
public interface ProdAccidentDao extends BaseMapperX<ProdAccidentEntity> {
 
    default PageResult<ProdAccidentEntity> selectPage(ProdAccidentPageReqVO Entity) {
        return selectPage(Entity, new LambdaQueryWrapperX<ProdAccidentEntity>()
                .orderByDesc(ProdAccidentEntity::getCjsj));
    }
}