|
@@ -42,7 +42,7 @@ public class BusinessNumberServiceImpl extends ServiceImpl<BusinessNumberMapper,
|
|
|
private static DecimalFormat zero2 = new DecimalFormat("00");
|
|
|
|
|
|
@Override
|
|
|
- public String takeMainNumber(TakeNumberDTO taskRecordDTO) {
|
|
|
+ public synchronized String takeMainNumber(TakeNumberDTO taskRecordDTO) {
|
|
|
TakeNumberEnum takeType = taskRecordDTO.getTakeType();
|
|
|
MainBusinessEnum businessType = taskRecordDTO.getBusinessType();
|
|
|
Integer year = taskRecordDTO.getYear();
|