丽知:新增等待时间,防止并发
This commit is contained in:
parent
fb2e87ac07
commit
f5a880243b
|
@ -165,7 +165,6 @@ public class GoodsAutoAllotPluginInitializer extends PluginBaseEntity {
|
|||
public void start(String invcode) {
|
||||
String[] split = invcode.split("_");
|
||||
try {
|
||||
Thread.sleep(500);
|
||||
BdInvbasdocEntity bdInvbasdocEntity = new BdInvbasdocEntity();
|
||||
bdInvbasdocEntity.setInvcode(split[0]);
|
||||
bdInvbasdocEntity.setDataSourceCode(ProfilesActiveConstant.LETS_DATE_SOURCE);
|
||||
|
@ -261,6 +260,8 @@ public class GoodsAutoAllotPluginInitializer extends PluginBaseEntity {
|
|||
String response = "";
|
||||
|
||||
try {
|
||||
|
||||
Thread.sleep(500);
|
||||
GoodsAutoAllotVO goodsAutoAllotVO = new GoodsAutoAllotVO();
|
||||
//存货基本档案主键
|
||||
goodsAutoAllotVO.setPk_invbasdoc(pkInvbasdoc);
|
||||
|
|
Loading…
Reference in New Issue