选煤厂生产管理平台后台代码
dongyukun
2024-12-10 b643c158bc05f2a7f95bb9fed15a1451691eaef4
提交 | 用户 | 时间
532d0b 1 package com.iailab.module.pms.production.device.dao;
D 2
3
4 import com.iailab.framework.common.pojo.PageResult;
5 import com.iailab.framework.mybatis.core.mapper.BaseMapperX;
6 import com.iailab.framework.mybatis.core.query.LambdaQueryWrapperX;
7 import com.iailab.module.pms.production.device.entity.RunTimeEntity;
8 import com.iailab.module.pms.production.device.vo.RunTimePageReqVO;
9 import org.apache.ibatis.annotations.Mapper;
10
11 /**
12  * @author DongYukun
13  * @Description
14  * @createTime 2023年01月10日 11:15:00
15  */
16 @Mapper
17 public interface RunTimeDao extends BaseMapperX<RunTimeEntity> {
18
19     default PageResult<RunTimeEntity> selectPage(RunTimePageReqVO Entity) {
20         return selectPage(Entity, new LambdaQueryWrapperX<RunTimeEntity>()
21                 .orderByDesc(RunTimeEntity::getCjsj));
22     }
23 }