/* * 备注:平台编写规则类 * 接口执行类 */ public Object runComClass(PfParameterVO vo) throws BusinessException { try { super.m_tmpVo = vo; // ####本脚本必须含有返回值,返回DLG和PNL的组件不允许有返回值#### Object retObj = null; // ####该组件为单动作弃审处理开始...不能进行修改#### boolean isFinishToGoing = procUnApproveFlow(vo); // ###返回值:true-审批流程由完成态返回到运行态;false-其他情况 // ####该组件为单动作弃审处理结束...不能进行修改#### if (isFinishToGoing) { // 审批流程由完成态返回到运行态,需要进行的业务补偿 } // ####重要说明:生成的业务组件方法尽量不要进行修改#### // 方法说明:反查单据主表VO的ts属性 retObj = runClass( "nc.bs.trade.business.HYPubBO", "setBillTs", "nc.vo.pub.AggregatedValueObject:01", vo, m_keyHas, m_methodReturnHas); // ################################################## return getVo(); } catch (Exception ex) { if (ex instanceof BusinessException) throw (BusinessException) ex; else throw new PFBusinessException(ex.getMessage(), ex); } }
/* * 备注:平台编写规则类 * 接口执行类 */ public Object runComClass(PfParameterVO vo) throws BusinessException { try { super.m_tmpVo = vo; // ####本脚本必须含有返回值,返回DLG和PNL的组件不允许有返回值#### Object retObj = null; // ####该组件为单动作工作流处理开始...不能进行修改#### Object m_sysflowObj = procActionFlow(vo); if (m_sysflowObj != null) { return m_sysflowObj; } // ####该组件为单动作工作流处理结束...不能进行修改#### // ####重要说明:生成的业务组件方法尽量不要进行修改#### // 方法说明:反查单据主表VO的ts属性 retObj = runClass( "nc.bs.trade.business.HYPubBO", "setBillTs", "nc.vo.pub.AggregatedValueObject:01", vo, m_keyHas, m_methodReturnHas); // ################################################## return retObj; } catch (Exception ex) { if (ex instanceof BusinessException) throw (BusinessException) ex; else throw new PFBusinessException(ex.getMessage(), ex); } }
/* * 备注:平台编写规则类 * 接口执行类 */ public Object runComClass(PfParameterVO vo) throws BusinessException { try { super.m_tmpVo = vo; // ####本脚本必须含有返回值,返回DLG和PNL的组件不允许有返回值#### Object retObj = null; return null; } catch (Exception ex) { if (ex instanceof BusinessException) throw (BusinessException) ex; else throw new PFBusinessException(ex.getMessage(), ex); } }
/* * 备注:平台编写规则类 * 接口执行类 */ public Object runComClass(PfParameterVO vo) throws BusinessException { try { super.m_tmpVo = vo; // ####本脚本必须含有返回值,返回DLG和PNL的组件不允许有返回值#### Object retObj = null; // ####重要说明:生成的业务组件方法尽量不要进行修改#### // 方法说明:提交单据,更新单据为提交态 retObj = runClass( "nc.bs.trade.business.HYPubBO", "commitBill", "nc.vo.pub.AggregatedValueObject:01", vo, m_keyHas, m_methodReturnHas); // ################################################## return retObj; } catch (Exception ex) { if (ex instanceof BusinessException) throw (BusinessException) ex; else throw new PFBusinessException(ex.getMessage(), ex); } }