This commit is contained in:
lihao 2025-07-24 09:47:01 +08:00
parent cc39fc2aed
commit 6cdcd53e06
1 changed files with 15 additions and 1 deletions

View File

@ -6,10 +6,15 @@
package nc.bs.pub.action;
import nc.bs.framework.common.NCLocator;
import nc.bs.mmpac.pickm.rule.ToBuyingreqRule;
import nc.bs.mmpac.pickm.rule.ToPmoRule;
import nc.bs.mmpac.pmo.pac0002.pluginpoint.PMOPluginPoint;
import nc.bs.pubapp.pf.action.AbstractPfAction;
import nc.impl.pubapp.pattern.rule.processer.CompareAroundProcesser;
import nc.itf.mmpac.pickm.IPickmMaintainService;
import nc.vo.mmpac.pickm.entity.AggPickmVO;
import nc.vo.mmpac.pmo.pac0002.entity.PMOAggVO;
import nc.vo.pub.BusinessException;
import nc.vo.pubapp.pattern.exception.ExceptionUtils;
import nccloud.vo.mmpub.utils.power.MMDataPermissionUtil;
@ -19,7 +24,10 @@ public class N_55A3_APPROVE extends AbstractPfAction<AggPickmVO> {
}
protected CompareAroundProcesser<AggPickmVO> getCompareAroundProcesserWithRules(Object userObj) {
return null;
CompareAroundProcesser<AggPickmVO> processer = new CompareAroundProcesser<AggPickmVO>(PMOPluginPoint.COMMIT);
addAfterRule(processer);
return processer;
}
protected AggPickmVO[] processBP(Object userObj, AggPickmVO[] clientFullVOs, AggPickmVO[] originBills) {
@ -43,5 +51,11 @@ public class N_55A3_APPROVE extends AbstractPfAction<AggPickmVO> {
}
}
private void addAfterRule(CompareAroundProcesser<AggPickmVO> processer) {
// processer.addAfterRule(new ToBuyingreqRule());
// processer.addAfterRule(new ToPmoRule());
}
}