流程备料计划审核源码

This commit is contained in:
lihao 2025-07-11 09:30:20 +08:00
parent 58bc3369e8
commit 45209bd3bc
1 changed files with 47 additions and 0 deletions

View File

@ -0,0 +1,47 @@
//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by FernFlower decompiler)
//
package nc.bs.pub.action;
import nc.bs.framework.common.NCLocator;
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.pub.BusinessException;
import nc.vo.pubapp.pattern.exception.ExceptionUtils;
import nccloud.vo.mmpub.utils.power.MMDataPermissionUtil;
public class N_55A3_APPROVE extends AbstractPfAction<AggPickmVO> {
public N_55A3_APPROVE() {
}
protected CompareAroundProcesser<AggPickmVO> getCompareAroundProcesserWithRules(Object userObj) {
return null;
}
protected AggPickmVO[] processBP(Object userObj, AggPickmVO[] clientFullVOs, AggPickmVO[] originBills) {
try {
if (super.m_tmpVo.isCloudEntry) {
if (clientFullVOs[0].getParentVO().getFprodmode() == 2) {
MMDataPermissionUtil.checkPermission(clientFullVOs, "55C3", "DPickmAuditBP", "vbillcode");
} else {
MMDataPermissionUtil.checkPermission(clientFullVOs, "55A3", "PickmAuditBP", "vbillcode");
}
}
for(AggPickmVO aggPickm : clientFullVOs) {
aggPickm.getParentVO().setStatus(1);
}
return ((IPickmMaintainService)NCLocator.getInstance().lookup(IPickmMaintainService.class)).auditPickm(clientFullVOs);
} catch (BusinessException e) {
ExceptionUtils.wrappException(e);
return null;
}
}
}