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