|
@@ -6,9 +6,11 @@ import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
|
|
import cn.iocoder.yudao.module.pms.controller.admin.iotrhdailyreport.vo.IotRhDailyReportPageReqVO;
|
|
|
import cn.iocoder.yudao.module.pms.dal.dataobject.iotrhdailyreport.IotRhDailyReportDO;
|
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.time.format.DateTimeFormatter;
|
|
|
+import java.util.List;
|
|
|
|
|
|
/**
|
|
|
* 瑞恒日报 Mapper
|
|
@@ -51,6 +53,41 @@ public interface IotRhDailyReportMapper extends BaseMapperX<IotRhDailyReportDO>
|
|
|
.orderByDesc(IotRhDailyReportDO::getId));
|
|
|
}
|
|
|
|
|
|
+ /* default List<IotRhDailyReportDO> selectList(IotRhDailyReportPageReqVO reqVO) {
|
|
|
+ return selectList(new LambdaQueryWrapperX<IotRhDailyReportDO>()
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getDeptId, reqVO.getDeptId())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getProjectId, reqVO.getProjectId())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getTaskId, reqVO.getTaskId())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getProjectClassification, reqVO.getProjectClassification())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getRelocationDays, reqVO.getRelocationDays())
|
|
|
+ .betweenIfPresent(IotRhDailyReportDO::getTransitTime, reqVO.getTransitTime())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getDailyGasInjection, reqVO.getDailyGasInjection())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getDailyWaterInjection, reqVO.getDailyWaterInjection())
|
|
|
+ .betweenIfPresent(IotRhDailyReportDO::getDailyInjectGasTime, reqVO.getDailyInjectGasTime())
|
|
|
+ .betweenIfPresent(IotRhDailyReportDO::getDailyInjectWaterTime, reqVO.getDailyInjectWaterTime())
|
|
|
+ .betweenIfPresent(IotRhDailyReportDO::getNonProductionTime, reqVO.getNonProductionTime())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getNptReason, reqVO.getNptReason())
|
|
|
+ .betweenIfPresent(IotRhDailyReportDO::getConstructionStartDate, reqVO.getConstructionStartDate())
|
|
|
+ .betweenIfPresent(IotRhDailyReportDO::getConstructionEndDate, reqVO.getConstructionEndDate())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getProductionStatus, reqVO.getProductionStatus())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getNextPlan, reqVO.getNextPlan())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getConstructionStatus, reqVO.getConstructionStatus())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getPersonnel, reqVO.getPersonnel())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getTotalGasInjection, reqVO.getTotalGasInjection())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getTotalWaterInjection, reqVO.getTotalWaterInjection())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getCumulativeCompletion, reqVO.getCumulativeCompletion())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getExtProperty, reqVO.getExtProperty())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getSort, reqVO.getSort())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getRemark, reqVO.getRemark())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getStatus, reqVO.getStatus())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getProcessInstanceId, reqVO.getProcessInstanceId())
|
|
|
+ .eqIfPresent(IotRhDailyReportDO::getAuditStatus, reqVO.getAuditStatus())
|
|
|
+ .betweenIfPresent(IotRhDailyReportDO::getCreateTime, reqVO.getCreateTime()));
|
|
|
+ } */
|
|
|
+
|
|
|
+ // 修改selectList方法,使用XML实现
|
|
|
+ List<IotRhDailyReportDO> selectListGrouped(@Param("reqVO") IotRhDailyReportPageReqVO reqVO);
|
|
|
+
|
|
|
/**
|
|
|
* 根据条件查询单个OTA升级记录
|
|
|
*
|