如果是事后补单,不推送bip

This commit is contained in:
yuxueliang0813 2024-11-30 17:18:42 +08:00
parent 006a7f0293
commit ad989848b3
1 changed files with 4 additions and 0 deletions

View File

@ -151,6 +151,10 @@ public class YongyouBIPOperation extends AbstractOperationServicePlugIn implemen
if("audit".equals(eok)){ if("audit".equals(eok)){
prinfo = BusinessDataServiceHelper.loadSingle(dos[i].getPkValue(),dos[i].getDataEntityType().getName()); prinfo = BusinessDataServiceHelper.loadSingle(dos[i].getPkValue(),dos[i].getDataEntityType().getName());
} }
//如果是事后补单不推送bip
if(prinfo.getBoolean("supplementflag")){
continue;
}
//如果bip单据号为空则需要调用bip接口否则不需要操作之后系统会把对象的所有属性加载出来 //如果bip单据号为空则需要调用bip接口否则不需要操作之后系统会把对象的所有属性加载出来
if(!DobeDWUtils.isEmpty(prinfo.getString("qeug_yynum"))){ if(!DobeDWUtils.isEmpty(prinfo.getString("qeug_yynum"))){
this.operationResult.setSuccess(false); this.operationResult.setSuccess(false);