Browse Source

#设备档案工作票统计

zhongwei
yang_shj 9 months ago
parent
commit
7e0c83b72b
  1. 3
      hzims-service/operational/src/main/java/com/hnac/hzims/operational/census/service/impl/TargetServiceImpl.java
  2. 2
      hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/controller/WorkTicketInfoController.java

3
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()); completeTicketVo.setCompleteRate(doublePass.getDoublePassRate());
} }
completes.add(completeTicketVo); completes.add(completeTicketVo);
countDownLatch.countDown();
} }
}else{ }else{
for (Dept dept: areas) { for (Dept dept: areas) {
@ -465,9 +466,9 @@ public class TargetServiceImpl implements TargetService {
completeTicketVo.setCompleteRate(doublePass.getDoublePassRate()); completeTicketVo.setCompleteRate(doublePass.getDoublePassRate());
} }
completes.add(completeTicketVo); completes.add(completeTicketVo);
countDownLatch.countDown();
} }
} }
countDownLatch.countDown();
}); });
// 等待所有线程执行完成 // 等待所有线程执行完成
try { try {

2
hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/controller/WorkTicketInfoController.java

@ -258,7 +258,7 @@ public class WorkTicketInfoController {
} }
/** /**
* 获取工作票台账 * 获取工作票台账
*/ */
@ApiLog @ApiLog
@GetMapping("/getWorkTicketBill") @GetMapping("/getWorkTicketBill")

Loading…
Cancel
Save