diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyRecServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyRecServiceImpl.java index 26b4944..cfd18ef 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyRecServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/duty/service/impl/ImsDutyRecServiceImpl.java @@ -1571,7 +1571,7 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl paramMap = new HashMap<>(); paramMap.put("startDate", startTime); paramMap.put("endDate", endTime); - paramMap.put("deptList", deptId); + paramMap.put("deptList", Arrays.asList(deptId)); R> workTicketInfo = ticketInfoClient.getWorkTicketInfo(paramMap); if(workTicketInfo.isSuccess()&& cn.hutool.core.util.ObjectUtil.isNotEmpty(workTicketInfo.getData())){ List ticketInfoData = workTicketInfo.getData(); @@ -1583,10 +1583,9 @@ public class ImsDutyRecServiceImpl extends BaseServiceImpl invalidList = ticketInfoData.stream().filter(item -> "废票".equals(item.getFlowTaskName())) .collect(Collectors.toList()); dutyLogEntity.setWorkCancel(String.valueOf(invalidList.size())); - Integer i=0; //工作票未执行数量 List unExecutedList = ticketInfoData.stream() - .filter(item -> i.equals(item.getImplementStatus())) + .filter(item -> "0".equals(item.getImplementStatus())) .collect(Collectors.toList()); dutyLogEntity.setWorkUnFinish(String.valueOf(unExecutedList.size())); // 工作票执行数量