计划参考数增加睡眠间隔
This commit is contained in:
parent
6270a9f153
commit
9ca27fda3e
|
|
@ -82,6 +82,11 @@ public class FundPlanPaymentTask extends AbstractTask implements Plugin {
|
|||
//自动触发调用保存操作,现在测试出来,前台保存后,才会有这个维度分录
|
||||
doinfo = BusinessDataServiceHelper.loadSingle(doinfo.getPkValue(),entityName);
|
||||
OperationServiceHelper.executeOperate("save", entityName, new DynamicObject[]{doinfo}, option);
|
||||
try {
|
||||
Thread.sleep(1000);//休眠1秒后再去加载对象
|
||||
} catch (InterruptedException e) {
|
||||
throw new RuntimeException(e);
|
||||
}
|
||||
doinfo = BusinessDataServiceHelper.loadSingle(doinfo.getPkValue(),entityName);
|
||||
maindimentrys = doinfo.getDynamicObjectCollection("maindimentry");//主维度分录
|
||||
if(maindimentrys.isEmpty()){
|
||||
|
|
|
|||
Loading…
Reference in New Issue