md
This commit is contained in:
parent
69be414eae
commit
9956bd4dfc
@ -216,7 +216,7 @@ public class EmisCommonController extends EmisBaseController
|
|||||||
ex.printStackTrace();
|
ex.printStackTrace();
|
||||||
}
|
}
|
||||||
|
|
||||||
String batchKey= "B"+siteThreeCode+DateUtils.parseDateToStr(DTF,new Date());
|
String batchKey= "B"+siteThreeCode+DateUtils.parseDateToStr(yyMMdd,new Date());
|
||||||
Long lockNo = redissonService.addAndGetLong(batchKey,1L);
|
Long lockNo = redissonService.addAndGetLong(batchKey,1L);
|
||||||
String batchNo =batchKey+ "-" +StringUtils.leftPad(String.valueOf(lockNo),2,"0");
|
String batchNo =batchKey+ "-" +StringUtils.leftPad(String.valueOf(lockNo),2,"0");
|
||||||
return AjaxResult.success("获取成功",batchNo);
|
return AjaxResult.success("获取成功",batchNo);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user