|
|
|
@ -60,16 +60,16 @@ public class OperDefectStatisticsServiceImpl extends BaseServiceImpl<OperDefectS
|
|
|
|
|
queryWrapper.like(OperDefectStatisticsEntity::getName, statistics.getName()); |
|
|
|
|
} |
|
|
|
|
if (statistics.getConclusionTime() != null) { |
|
|
|
|
queryWrapper.le(OperDefectStatisticsEntity::getConclusionTime, statistics.getConclusionTime()); |
|
|
|
|
queryWrapper.ge(OperDefectStatisticsEntity::getConclusionTime, statistics.getConclusionTime()); |
|
|
|
|
} |
|
|
|
|
if (Func.isNotEmpty(statistics.getConclusionEndTime())) { |
|
|
|
|
queryWrapper.ge(OperDefectStatisticsEntity::getConclusionTime, statistics.getConclusionEndTime()); |
|
|
|
|
queryWrapper.le(OperDefectStatisticsEntity::getConclusionTime, statistics.getConclusionEndTime()); |
|
|
|
|
} |
|
|
|
|
if (statistics.getCreateTime() != null) { |
|
|
|
|
queryWrapper.le(OperDefectStatisticsEntity::getCreateTime, statistics.getCreateTime()); |
|
|
|
|
queryWrapper.ge(OperDefectStatisticsEntity::getCreateTime, statistics.getCreateTime()); |
|
|
|
|
} |
|
|
|
|
if (Func.isNotEmpty(statistics.getCreateEndTime())) { |
|
|
|
|
queryWrapper.ge(OperDefectStatisticsEntity::getCreateTime, statistics.getCreateEndTime()); |
|
|
|
|
queryWrapper.le(OperDefectStatisticsEntity::getCreateTime, statistics.getCreateEndTime()); |
|
|
|
|
} |
|
|
|
|
if (statistics.getIsDefect() != null) { |
|
|
|
|
queryWrapper.eq(OperDefectStatisticsEntity::getIsDefect, statistics.getIsDefect()); |
|
|
|
|