|
|
@ -796,8 +796,8 @@ public class WorkTicketInfoServiceImpl extends BaseServiceImpl<WorkTicketInfoMap |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public String getWorkTicketCode(){ |
|
|
|
public String getWorkTicketCode(){ |
|
|
|
String code = ""; |
|
|
|
String code = ""; |
|
|
|
try{ |
|
|
|
|
|
|
|
lock.lock(); |
|
|
|
lock.lock(); |
|
|
|
|
|
|
|
try{ |
|
|
|
/**获取当前时间**/ |
|
|
|
/**获取当前时间**/ |
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyMM"); |
|
|
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyMM"); |
|
|
|
YearMonth yearMonth = YearMonth.now(); |
|
|
|
YearMonth yearMonth = YearMonth.now(); |
|
|
|