package com.iailab.module.pms.production.device.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.device.entity.RunTimeEntity;
|
import com.iailab.module.pms.production.device.vo.RunTimePageReqVO;
|
import org.apache.ibatis.annotations.Mapper;
|
|
/**
|
* @author DongYukun
|
* @Description
|
* @createTime 2023年01月10日 11:15:00
|
*/
|
@Mapper
|
public interface RunTimeDao extends BaseMapperX<RunTimeEntity> {
|
|
default PageResult<RunTimeEntity> selectPage(RunTimePageReqVO Entity) {
|
return selectPage(Entity, new LambdaQueryWrapperX<RunTimeEntity>()
|
.orderByDesc(RunTimeEntity::getCjsj));
|
}
|
}
|