From ac4655d3479ad86537fbe66911af0740689fa368 Mon Sep 17 00:00:00 2001 From: "tanfengling@x-ri.com" <123456> Date: Mon, 20 Oct 2025 09:51:22 +0800 Subject: [PATCH] =?UTF-8?q?=E3=80=90=E4=BB=98=E6=AC=BE=E7=94=B3=E8=AF=B7?= =?UTF-8?q?=E6=8F=90=E4=BA=A4=E6=8E=A8=E9=80=81=E6=B3=9B=E5=BE=AE=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../operate/cas/PayApplySubmitToFwOp.java | 30 +++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 lc123/cloud/app/plugin/operate/cas/PayApplySubmitToFwOp.java diff --git a/lc123/cloud/app/plugin/operate/cas/PayApplySubmitToFwOp.java b/lc123/cloud/app/plugin/operate/cas/PayApplySubmitToFwOp.java new file mode 100644 index 0000000..78a1dc1 --- /dev/null +++ b/lc123/cloud/app/plugin/operate/cas/PayApplySubmitToFwOp.java @@ -0,0 +1,30 @@ +package tqq9.lc123.cloud.app.plugin.operate.cas; + +import kd.bos.dataentity.entity.DynamicObject; +import kd.bos.entity.operate.result.OperationResult; +import kd.bos.entity.plugin.AbstractOperationServicePlugIn; +import kd.bos.entity.plugin.args.AfterOperationArgs; +import kd.bos.servicehelper.BusinessDataServiceHelper; + +import java.text.SimpleDateFormat; +import java.util.List; + +/** + * 付款申请单提交后推送泛微 + */ +public class PayApplySubmitToFwOp extends AbstractOperationServicePlugIn { + + + @Override + public void afterExecuteOperationTransaction(AfterOperationArgs e) { + super.afterExecuteOperationTransaction(e); + OperationResult operationResult = this.getOperationResult(); + List successPkIds = operationResult.getSuccessPkIds(); + for (Object successPkId : successPkIds) { + DynamicObject ap_payapply = BusinessDataServiceHelper.loadSingle(successPkId, "ap_payapply"); + SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd"); + + + } + } +}