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