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