package com.iailab.module.pms.production.wash.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.wash.vo.HourVolumePageReqVO;
|
import com.iailab.module.pms.production.wash.entity.HourVolumeEntity;
|
import org.apache.ibatis.annotations.Mapper;
|
import org.apache.ibatis.annotations.Param;
|
|
import java.util.Date;
|
import java.util.List;
|
|
/**
|
* @author DongYukun
|
* @Description
|
* @createTime 2024年12月03日
|
*/
|
@Mapper
|
public interface HourVolumeDao extends BaseMapperX<HourVolumeEntity> {
|
|
List<String> selectListByName(@Param("startTime") Date startTime, @Param("endTime")Date endTime , @Param("name")String name );
|
|
default PageResult<HourVolumeEntity> selectPage(HourVolumePageReqVO Entity) {
|
return selectPage(Entity, new LambdaQueryWrapperX<HourVolumeEntity>()
|
.orderByDesc(HourVolumeEntity::getCjsj));
|
}
|
}
|