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