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.WashPlanPageReqVO;
|
import com.iailab.module.pms.production.wash.entity.WashPlanEntity;
|
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 WashPlanDao extends BaseMapperX<WashPlanEntity> {
|
|
List<String> selectListByName(@Param("startTime") Date startTime, @Param("endTime")Date endTime , @Param("name")String name );
|
|
default PageResult<WashPlanEntity> selectPage(WashPlanPageReqVO Entity) {
|
return selectPage(Entity, new LambdaQueryWrapperX<WashPlanEntity>()
|
.orderByDesc(WashPlanEntity::getCjsj));
|
}
|
}
|