Revert "fix:合同签章申请"

This reverts commit b55fecb7fa.
This commit is contained in:
ljw 2024-09-25 21:58:51 +08:00
parent b55fecb7fa
commit 8050609cad
2 changed files with 4 additions and 8 deletions

View File

@ -159,12 +159,8 @@ public class SalesorderSignatureOp extends AbstractOperationServicePlugIn {
//查询单据注册数据
DynamicObject data = BusinessDataServiceHelper.loadSingle(intebilllogonID, "yem_ia_intebilllogon");
if (data != null && pkid != null && pkid != "") {
if ("yem_es_xsalesorder".equals(name) || "yem_es_salesorder".equals(name)) {
Object = ObjectToJsonUtils.ToJson(data, pkid, name, dynamicObject.getString("yem_operator.useropenid"));
} else {
Object = ObjectToJsonUtils.ToJson(data, pkid, name, ObjectToJsonUtils.getpostcreator());
}
}
} else {
this.operationResult.addErrorInfo(new ValidationErrorInfo("", pkid,
0, 0, "err", "合同签章申请", "未读取启用的《智能审批单据注册》,请修改后重试!", ErrorLevel.Error));