''' 交易名称:${tadeCode} 说 明:${desc} ''' def ${tadeCode}(__REQ__,__RSP__,__SND__,__RCV__): try: CGC_Debug("开始业务组件 ${tadeCode}:${desc}") BAPC_Builtin_SetDefaultExceptNode(None) _Result_ = False _Method_ = ${firstMothod} while(type(_Method_) is FunctionType): _Result_ = _Method_(__REQ__,__RSP__,__SND__,__RCV__) _Method_ = _Result_ CGC_Debug("结束业务组件 ${tadeCode}:${desc}") return (_Method_ == True) except Exception,PyExcp: BAPC_Builtin_SetGlobalError("E","BAPC0E001",str(PyExcp)) CGC_Debug(str(PyExcp)) return False