fix:合同签章

This commit is contained in:
ljw 2024-10-19 14:55:22 +08:00
parent 2ceceaaa05
commit e6ae689395
2 changed files with 4 additions and 2 deletions

View File

@ -153,6 +153,7 @@ public class SalesorderSignatureOp extends AbstractOperationServicePlugIn {
} else if ("yem_es_xsalesorder".equals(name)) { } else if ("yem_es_xsalesorder".equals(name)) {
qFilter.and(new QFilter("billno", QCP.equals, "WXHTBG-GZSP")); qFilter.and(new QFilter("billno", QCP.equals, "WXHTBG-GZSP"));
} }
DynamicObject yem_ia_intebilllogon = BusinessDataServiceHelper.loadSingle("yem_ia_intebilllogon", "id", qFilter.toArray()); DynamicObject yem_ia_intebilllogon = BusinessDataServiceHelper.loadSingle("yem_ia_intebilllogon", "id", qFilter.toArray());
if (yem_ia_intebilllogon != null) { if (yem_ia_intebilllogon != null) {
long intebilllogonID = yem_ia_intebilllogon.getLong("id"); long intebilllogonID = yem_ia_intebilllogon.getLong("id");

View File

@ -146,7 +146,8 @@ public class SalesContracSignatureOp extends AbstractOperationServicePlugIn {
public JSONObject GetintebilllogonJson(Object pkid, DynamicObject dynamicObject) { public JSONObject GetintebilllogonJson(Object pkid, DynamicObject dynamicObject) {
JSONObject Object = new JSONObject(); JSONObject Object = new JSONObject();
QFilter qFilter = new QFilter("yem_isdisable", QCP.equals, false); QFilter qFilter = new QFilter("yem_isdisable", QCP.equals, false);
qFilter.and(new QFilter("billno", QCP.equals, "WXHT-YZJ")); qFilter.and(new QFilter("billno", QCP.equals, "KJHT-GZSP"));
DynamicObject yem_ia_intebilllogon = BusinessDataServiceHelper.loadSingle("yem_ia_intebilllogon", "id", qFilter.toArray()); DynamicObject yem_ia_intebilllogon = BusinessDataServiceHelper.loadSingle("yem_ia_intebilllogon", "id", qFilter.toArray());
if (yem_ia_intebilllogon != null) { if (yem_ia_intebilllogon != null) {
long intebilllogonID = yem_ia_intebilllogon.getLong("id"); long intebilllogonID = yem_ia_intebilllogon.getLong("id");
@ -157,7 +158,7 @@ public class SalesContracSignatureOp extends AbstractOperationServicePlugIn {
} }
} else { } else {
this.operationResult.addErrorInfo(new ValidationErrorInfo("", pkid, this.operationResult.addErrorInfo(new ValidationErrorInfo("", pkid,
0, 0, "err", "合同签章申请", "未读取启用的《智能审批单据注册》,请修改后重试!", ErrorLevel.Error)); 0, 0, "err", "框架合同签章申请", "未读取启用的《智能审批单据注册》,请修改后重试!", ErrorLevel.Error));
} }
return Object; return Object;
} }