Browse Source

# 日常维护记录查询bug

zhongwei
haungxing 9 months ago
parent
commit
929441462c
  1. 4
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/maintenance/service/impl/OperMaintenanceTaskServiceImpl.java

4
hzims-service/operational/src/main/java/com/hnac/hzims/operational/maintenance/service/impl/OperMaintenanceTaskServiceImpl.java

@ -144,10 +144,10 @@ public class OperMaintenanceTaskServiceImpl extends BaseServiceImpl<OperMaintena
isNull(OperMaintenanceTaskEntity::getTicketId);
}
if (!StringUtil.isEmpty(req.getStartTime())) {
gt(OperMaintenanceTaskEntity::getDisposeTime, req.getStartTime());
ge(OperMaintenanceTaskEntity::getDisposeTime, req.getStartTime());
}
if (!StringUtil.isEmpty(req.getEndTime())) {
lt(OperMaintenanceTaskEntity::getDisposeTime, req.getEndTime());
le(OperMaintenanceTaskEntity::getDisposeTime, req.getEndTime());
}
if (!CollectionUtils.isEmpty(req.getDeptIds())) {
in(OperMaintenanceTaskEntity::getCreateDept, req.getDeptIds());

Loading…
Cancel
Save