fix:
1.云之家获取审核失败调用撤销取消
This commit is contained in:
parent
6edece8faa
commit
06e61efd62
@ -1,9 +1,6 @@
|
||||
package com.yem.wm.bc.bill.from;
|
||||
|
||||
import com.alibaba.fastjson.JSONObject;
|
||||
import com.yem.ia.intebilllogon.Utils.BackfilljsonAssignUtils;
|
||||
import com.yem.wm.bc.change.business.ChangeModelHelper;
|
||||
import com.yem.wm.syn.eas.api.controller.YZJAuditController;
|
||||
import com.yem.wm.utils.StringUtils;
|
||||
import com.yem.wm.utils.YunzhijiaUtils;
|
||||
import kd.bos.bill.AbstractBillPlugIn;
|
||||
@ -16,24 +13,19 @@ import kd.bos.entity.operate.result.OperationResult;
|
||||
import kd.bos.entity.validate.ValidateResult;
|
||||
import kd.bos.entity.validate.ValidateResultCollection;
|
||||
import kd.bos.exception.KDBizException;
|
||||
import kd.bos.form.FormShowParameter;
|
||||
import kd.bos.form.events.AfterDoOperationEventArgs;
|
||||
import kd.bos.form.events.BeforeDoOperationEventArgs;
|
||||
import kd.bos.form.events.PreOpenFormEventArgs;
|
||||
import kd.bos.form.operate.FormOperate;
|
||||
import kd.bos.openapi.common.result.CustomApiResult;
|
||||
import kd.bos.orm.query.QCP;
|
||||
import kd.bos.orm.query.QFilter;
|
||||
import kd.bos.servicehelper.BusinessDataServiceHelper;
|
||||
import kd.bos.servicehelper.QueryServiceHelper;
|
||||
import kd.bos.servicehelper.operation.OperationServiceHelper;
|
||||
import kd.bos.servicehelper.operation.SaveServiceHelper;
|
||||
import kd.hr.hies.common.enu.Operate;
|
||||
|
||||
import java.io.IOException;
|
||||
import java.security.KeyManagementException;
|
||||
import java.security.NoSuchAlgorithmException;
|
||||
import java.util.ArrayList;
|
||||
import java.util.EventObject;
|
||||
import java.util.List;
|
||||
|
||||
@ -176,8 +168,8 @@ public class YemBillPlugInBaseFrom extends AbstractBillPlugIn {
|
||||
String audit = result(result, "audit");
|
||||
if (audit != null) {
|
||||
this.getView().showMessage("同步失败,失败原因:" + audit);
|
||||
OperationServiceHelper.executeOperate("unsubmit", this.getModel().getDataEntityType().getName()
|
||||
, new Object[]{this.getModel().getValue("id")}, OperateOption.create());
|
||||
// OperationServiceHelper.executeOperate("unsubmit", this.getModel().getDataEntityType().getName()
|
||||
// , new Object[]{this.getModel().getValue("id")}, OperateOption.create());
|
||||
}else {
|
||||
this.getView().showMessage("同步成功:");
|
||||
this.getModel().setValue("yem_synfalt", "同步成功");
|
||||
|
Loading…
Reference in New Issue
Block a user