Browse Source

Merge remote-tracking branch 'origin/prod' into prod

zhongwei
yang_shj 1 year ago
parent
commit
0a6c02e926
  1. 2
      hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/service/impl/OfflineTicketServiceImpl.java

2
hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/service/impl/OfflineTicketServiceImpl.java

@ -61,6 +61,7 @@ public class OfflineTicketServiceImpl extends BaseServiceImpl<WorkTicketInfoMapp
private final IWorkTicketContentService contentService; private final IWorkTicketContentService contentService;
private final IUserClient userClient; private final IUserClient userClient;
private final IWorkTicketFlowService workTicketFlowService; private final IWorkTicketFlowService workTicketFlowService;
private Lock lock = new ReentrantLock();
/** /**
* 线下工作票开票 * 线下工作票开票
@ -175,7 +176,6 @@ public class OfflineTicketServiceImpl extends BaseServiceImpl<WorkTicketInfoMapp
}); });
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyMM"); DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyMM");
String yearMonth = YearMonth.now().format(formatter); String yearMonth = YearMonth.now().format(formatter);
Lock lock = new ReentrantLock();
lock.lock(); lock.lock();
try { try {
LocalDateTime date = LocalDateTime.now(); LocalDateTime date = LocalDateTime.now();

Loading…
Cancel
Save