diff --git a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/census/service/impl/TargetServiceImpl.java b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/census/service/impl/TargetServiceImpl.java index 93e17d2..f1dc1f0 100644 --- a/hzims-service/operational/src/main/java/com/hnac/hzims/operational/census/service/impl/TargetServiceImpl.java +++ b/hzims-service/operational/src/main/java/com/hnac/hzims/operational/census/service/impl/TargetServiceImpl.java @@ -443,6 +443,7 @@ public class TargetServiceImpl implements TargetService { completeTicketVo.setCompleteRate(doublePass.getDoublePassRate()); } completes.add(completeTicketVo); + countDownLatch.countDown(); } }else{ for (Dept dept: areas) { @@ -465,9 +466,9 @@ public class TargetServiceImpl implements TargetService { completeTicketVo.setCompleteRate(doublePass.getDoublePassRate()); } completes.add(completeTicketVo); + countDownLatch.countDown(); } } - countDownLatch.countDown(); }); // 等待所有线程执行完成 try { diff --git a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/controller/WorkTicketInfoController.java b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/controller/WorkTicketInfoController.java index 31ac092..b0aade8 100644 --- a/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/controller/WorkTicketInfoController.java +++ b/hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/controller/WorkTicketInfoController.java @@ -258,7 +258,7 @@ public class WorkTicketInfoController { } /** - * 获取工作票台账 + * 获取工作票台账、 */ @ApiLog @GetMapping("/getWorkTicketBill")