From 28f8b50311580963d644ded95685fa0f905395f6 Mon Sep 17 00:00:00 2001 From: mzr Date: Mon, 27 Oct 2025 17:29:40 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B2=BE=E5=AF=86-=E5=90=AF=E6=BA=90=E9=A2=86?= =?UTF-8?q?=E6=96=99-=E5=8D=95=E6=8D=AE=E6=97=A5=E6=9C=9F=E8=B5=8B?= =?UTF-8?q?=E5=80=BC-=E4=BB=A3=E7=A0=81=E8=B0=83=E6=95=B4=EF=BC=8C?= =?UTF-8?q?=E9=9C=80=E8=A6=81=E5=9C=A8=E5=BC=80=E5=85=B3=E8=B4=A6=E6=A3=80?= =?UTF-8?q?=E6=9F=A5=E4=B9=8B=E5=89=8D=E8=B5=8B=E5=80=BC=EF=BC=8CPushSaveA?= =?UTF-8?q?ctionFor55A3=E5=A2=9E=E5=8A=A0=E5=89=8D=E8=A7=84=E5=88=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../mm55a3/action/PushSaveActionFor55A3.java | 40 +++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 ic/src/private/nc/pubimpl/ic/m4d/mm55a3/action/PushSaveActionFor55A3.java diff --git a/ic/src/private/nc/pubimpl/ic/m4d/mm55a3/action/PushSaveActionFor55A3.java b/ic/src/private/nc/pubimpl/ic/m4d/mm55a3/action/PushSaveActionFor55A3.java new file mode 100644 index 00000000..a9ed319b --- /dev/null +++ b/ic/src/private/nc/pubimpl/ic/m4d/mm55a3/action/PushSaveActionFor55A3.java @@ -0,0 +1,40 @@ +// +// Source code recreated from a .class file by IntelliJ IDEA +// (powered by FernFlower decompiler) +// + +package nc.pubimpl.ic.m4d.mm55a3.action; + +import nc.bs.ic.general.rule.before.IgnoreSafetyStockCheck; +import nc.bs.ic.general.rule.before.MaterialOutBillDateRule; +import nc.bs.ic.general.rule.before.RowNoProcessForPushBill; +import nc.bs.ic.m4d.base.ServicePluginPoint; +import nc.bs.ic.m4d.insert.InsertBP; +import nc.bs.ic.pub.base.ICAroundProcesser; +import nc.vo.ic.general.util.BillChangeUtil; +import nc.vo.ic.m4d.entity.MaterialOutVO; +import nc.vo.pubapp.pattern.log.TimeLog; + +public class PushSaveActionFor55A3 { + public PushSaveActionFor55A3() { + } + + public MaterialOutVO[] pushSave(MaterialOutVO[] vos, boolean isFillNum) { + ICAroundProcesser processor = new ICAroundProcesser(ServicePluginPoint.pushSaveFor55A3); + processor.addBeforeRule(new MaterialOutBillDateRule<>()); + processor.addBeforeRule(new Push4DFor55A3BeforeProcess(isFillNum)); + processor.addBeforeRule(new IgnoreSafetyStockCheck()); + processor.addBeforeRule(new RowNoProcessForPushBill()); + TimeLog.logStart(); + (new BillChangeUtil()).dealLiabilityFor4D(vos); + MaterialOutVO[] beforeRstVos = (MaterialOutVO[])processor.before(vos); + TimeLog.info("调用新增保存BP前执行业务规则"); + TimeLog.logStart(); + MaterialOutVO[] ret = (new InsertBP()).insert(beforeRstVos); + TimeLog.info("调用新增保存BP,进行保存"); + TimeLog.logStart(); + processor.after(ret); + TimeLog.info("调用新增保存BP后执行业务规则"); + return ret; + } +}