@Override protected AggReceiptNew[] processBP( Object userObj, AggReceiptNew[] clientFullVOs, AggReceiptNew[] originBills) { nc.itf.erp.IReceiptNewMaintain operator = NCLocator.getInstance().lookup(nc.itf.erp.IReceiptNewMaintain.class); AggReceiptNew[] bills = null; try { bills = operator.save(clientFullVOs, originBills); } catch (BusinessException e) { ExceptionUtils.wrappBusinessException(e.getMessage()); } return bills; }
@Override protected AggOperatingincome[] processBP( Object userObj, AggOperatingincome[] clientFullVOs, AggOperatingincome[] originBills) { for (int i = 0; clientFullVOs != null && i < clientFullVOs.length; i++) { clientFullVOs[i].getParentVO().setStatus(VOStatus.UPDATED); } AggOperatingincome[] bills = null; try { nc.itf.erp.IOperatingincomeMaintain operator = NCLocator.getInstance().lookup(nc.itf.erp.IOperatingincomeMaintain.class); bills = operator.unapprove(clientFullVOs, originBills); } catch (BusinessException e) { ExceptionUtils.wrappBusinessException(e.getMessage()); } return bills; }