本文整理汇总了Python中AfaFlowControl类的典型用法代码示例。如果您正苦于以下问题:Python AfaFlowControl类的具体用法?Python AfaFlowControl怎么用?Python AfaFlowControl使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
在下文中一共展示了AfaFlowControl类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Python代码示例。
示例1: main
def main( ):
AfaLoggerFunc.tradeInfo('******统缴业务行内查询模板[' + TradeContext.TemplateCode + ']进入******')
try:
#=====================初始化返回报文变量================================
TradeContext.tradeResponse=[]
#获取当前系统时间
TradeContext.workDate=AfaUtilTools.GetSysDate( )
TradeContext.workTime=AfaUtilTools.GetSysTime( )
#=====================判断应用系统状态==================================
if not AfaFunc.ChkSysStatus( ) :
raise AfaFlowControl.flowException( )
#20120711注释 修改
#begin
#=====================判断单位状态======================================
if not AfaTjFunc.ChkUnitInfo( ):
raise AfaFlowControl.flowException( )
#end
#=====================外调接口(前处理)==================================
subModuleExistFlag = 0
subModuleName = 'T'+TradeContext.TemplateCode+'_'+TradeContext.TransCode
try:
subModuleHandle=__import__( subModuleName )
except Exception, e:
AfaLoggerFunc.tradeInfo( e)
else:
示例2: ChkParam
def ChkParam(ChkCode='11111111'):
if ChkCode[0]=='1':
#===============判断应用系统状态======================
if not AfaFunc.ChkSysStatus( ) :
raise AfaFlowControl.flowException( )
if ChkCode[1]=='1':
#===============判断商户状态======================
if not AfaFunc.ChkUnitStatus( ) :
raise AfaFlowControl.flowException( )
if ChkCode[2]=='1':
#=============判断交易状态=====================
if not AfaFunc.ChkTradeStatus( ) :
raise AfaFlowControl.flowException( )
if ChkCode[3]=='1':
#=============判断渠道状态====================
if not AfaFunc.ChkChannelStatus( ) :
raise AfaFlowControl.flowException( )
if ChkCode[4]=='1':
#=============判断缴费介质状态====================
if not AfaFunc.ChkActStatus( ) :
raise AfaFlowControl.flowException( )
return True
示例3: ChkUnitLimit
def ChkUnitLimit( ):
try:
AfaLoggerFunc.tradeInfo('>>>判断该单位是否有批量签约的权限')
sql = ""
sql = "SELECT FLAG FROM ABDT_QYFLAG WHERE "
sql = sql + " SYSID = '" + TradeContext.sysId + "'"
sql = sql + " AND STATUS = '1'"
records = AfaDBFunc.SelectSql( sql )
AfaLoggerFunc.tradeInfo('查询数据库 sql: ' +sql)
if(records==None):
TradeContext.errorCode,TradeContext.errorMsg = "9999" , "查询ABDT_QYFLAG数据库异常!"
raise AfaFlowControl.flowException( )
elif(len(records)==0):
TradeContext.errorCode,TradeContext.errorMsg = "9999" , "无该单位签约权限信息!"
raise AfaFlowControl.flowException( )
else:
if (records[0][0]=='0'):
TradeContext.errorCode,TradeContext.errorMsg = "9999" , "该单位无签约权限!"
raise AfaFlowControl.flowException( )
if (records[0][0]=='1'):
AfaLoggerFunc.tradeInfo('>>>该单位有签约权限')
return True
return True
except AfaFlowControl.flowException, e:
AfaFlowControl.exitMainFlow( str(e) )
示例4: SubModuleDoSnd
def SubModuleDoSnd():
AfaLoggerFunc.tradeInfo('进入续期查询交易[T'+TradeContext.TemplateCode+'_'+TradeContext.TransCode+']与第三方通讯后处理' )
try:
names = Party3Context.getNames( )
for name in names:
value = getattr( Party3Context, name )
if ( not name.startswith( '__' ) and type(value) is StringType) :
setattr( TradeContext, name, value )
if(TradeContext.errorCode=='0000'):
TradeContext.errorMsg="续期查询成功"
#TradeContext.syr_name1 = ''
#syr_name = []
#if TradeContext.existVariable('syr_name1'):
# syr_name.append('xiaozhang')
# syr_name.append('xig')
TradeContext.O1ACUR = '1'
# TradeContext.syr_name = syr_name
AfaLoggerFunc.tradeInfo('退出续期查询交易与第三方通讯后处理' )
return True
except AfaFlowControl.flowException, e:
AfaFlowControl.exitMainFlow( str(e) )
示例5: SubModuleDoSnd
def SubModuleDoSnd():
AfaLoggerFunc.tradeInfo('进入单证重打交易[T'+TradeContext.TemplateCode+'_'+TradeContext.TransCode+']与第三方通信后处理' )
try:
names = Party3Context.getNames( )
for name in names:
value = getattr( Party3Context, name )
if ( not name.startswith( '__' ) and type(value) is StringType or type(value) is ListType) :
setattr( TradeContext, name, value )
if(TradeContext.errorCode=='0000'):
#第三方返回成功后更新原保单印刷号
update_sql = "update afa_maintransdtl set "
update_sql = update_sql + " userno = '" + TradeContext.userno1 + "'" #user1新保单印刷号
update_sql = update_sql + " where userno = '" + TradeContext.userno + "'" #user原保单印刷号
update_sql = update_sql + " and workdate = '" + TradeContext.workDate + "'" #日期
update_sql = update_sql + " and agentserialno = '" + TradeContext.PreSerialno + "'" #缴费成功的中间业务流水号
#更新并提交数据
if AfaDBFunc.UpdateSqlCmt(update_sql)<0:
return AfaFlowControl.ExitThisFlow("A999","更新投保单号失败")
#第三方返回成功后生成现金价值文件
if not YbtFunc.createFile( ):
return False
AfaLoggerFunc.tradeInfo('退出单证重打[T'+TradeContext.TemplateCode+'_'+TradeContext.TransCode+']与第三方通讯后处理' )
return True
except Exception, e:
AfaFlowControl.exitMainFlow(str(e))
示例6: SubModuleMainFst
def SubModuleMainFst( ):
try:
AfaLoggerFunc.tradeInfo( '进入变更开户行行号[T'+TradeContext.TemplateCode+'_'+TradeContext.TransCode+']' )
#检查原开户行行号是否与数据库中登记的开户行行号一致
sqlStr = ""
sqlStr = sqlStr + "SELECT PAYOPBKCODE FROM TIPS_CUSTINFO WHERE TAXORGCODE = '" + TradeContext.taxOrgCode + "'"
sqlStr = sqlStr + " AND PAYACCT ='" + TradeContext.payAcct + "'"
#sqlStr = sqlStr + " AND PAYOPBKCODE ='" + TradeContext.payBkCode+ "'"
sqlStr = sqlStr + " AND PROTOCOLNO ='" +TradeContext.protocolNo+"'"
AfaLoggerFunc.tradeInfo(sqlStr)
records = AfaDBFunc.SelectSql( sqlStr )
if( records == None ):
return TipsFunc.ExitThisFlow( 'A0027', '表操作异常:'+AfaDBFunc.sqlErrMsg )
elif( len( records )==0 ):
return TipsFunc.ExitThisFlow( 'A0027', '没有满足条件的数据记录!' )
else:
AfaLoggerFunc.tradeDebug("原开户行行号为:" +records[0][0])
if(records[0][0] !=TradeContext.payBkCode):
TradeContext.errorCode,TradeContext.errorMsg = "A0001","原开户行行号不正确!"
return False
#====================更新开户行行号====================
AfaLoggerFunc.tradeInfo(">>>更改开户行行号")
update_sql = ""
update_sql = "UPDATE TIPS_CUSTINFO SET PAYOPBKCODE = '" + TradeContext.payBkCode1 + "'"
update_sql = update_sql + "WHERE TAXORGCODE = '" + TradeContext.taxOrgCode + "'"
update_sql = update_sql + " AND PAYACCT ='" + TradeContext.payAcct + "'"
update_sql = update_sql + " AND PAYOPBKCODE ='" + TradeContext.payBkCode+ "'"
update_sql = update_sql + " AND PROTOCOLNO ='" +TradeContext.protocolNo+"'"
AfaLoggerFunc.tradeInfo(update_sql)
if AfaDBFunc.UpdateSqlCmt(update_sql)<0:
return AfaFlowControl.ExitThisFlow("A0027","更新开户行行号失败!")
TradeContext.errorCode,TradeContext.errorMsg = "0000","交易成功"
AfaLoggerFunc.tradeInfo( '退出变更开户行行号[T'+TradeContext.TemplateCode+'_'+TradeContext.TransCode+']' )
return True
except Exception, e:
AfaFlowControl.exitMainFlow(str(e))
示例7: TrxMain
def TrxMain( ):
AfaLoggerFunc.tradeInfo('---------新农保柜面业务进入------------')
#业务编号
if ( not (TradeContext.existVariable( "Appno" ) and len(TradeContext.Appno.strip()) > 0) ):
TradeContext.errorCode,TradeContext.errorMsg = 'NB001', "不存在业务编号"
raise AfaFlowControl.flowException( )
#单位编号
if ( not (TradeContext.existVariable( "Busino" ) and len(TradeContext.Busino.strip()) > 0) ):
TradeContext.errorCode,TradeContext.errorMsg = 'NB001', "不存在单位编号"
raise AfaFlowControl.flowException( )
#上传文件名
if ( not (TradeContext.existVariable( "FileName" ) and len(TradeContext.FileName.strip()) > 0) ):
TradeContext.errorCode,TradeContext.errorMsg = 'NB001', "不存在上传文件名"
raise AfaFlowControl.flowException( )
#申请日期
if ( not (TradeContext.existVariable( "ApplyDate" ) and len(TradeContext.ApplyDate.strip()) > 0) ):
TradeContext.errorCode,TradeContext.errorMsg = 'NB001', "不存在申请日期"
raise AfaFlowControl.flowException( )
sql = ""
sql = sql + "select BATCHNO,FILENAME,SWAPFILENAME,WORKDATE,STATUS,"
sql = sql + "PROCMSG,APPLYDATE,APPNO,BUSINO,TOTALNUM,TOTALAMT,FILETYPE,"
sql = sql + "BRNO,TELLERNO,BEGINDATE,ENDDATE,WORKTIME,NOTE1,NOTE2,NOTE3,NOTE4"
sql = sql + " from ahnx_file where"
sql = sql + " FileName = '"+ TradeContext.FileName +"'" #上传文件名
sql = sql + " and ApplyDate = '"+ TradeContext.ApplyDate +"'" #申请日期
sql = sql + " and status <>" + "'2'" #文件状态
sql = sql + " and Appno = '"+ TradeContext.Appno +"'" #业务编号
sql = sql + " and Busino = '"+ TradeContext.Busino +"'" #单位编号
AfaLoggerFunc.tradeInfo("批量处理信息查询sql="+sql)
records = AfaDBFunc.SelectSql( sql )
if(records == None):
AfaLoggerFunc.tradeInfo("批量处理信息查询数据库异常")
return ExitSubTrade('NB000', '批量处理信息查询数据库异常')
elif(len(records)==0):
AfaLoggerFunc.tradeInfo("没有查询到相关的批量处理信息")
return ExitSubTrade('NB002', '没有查询到相关的批量处理信息')
elif(len(records)>1):
AfaLoggerFunc.tradeInfo("该批量处理信息不唯一")
return ExitSubTrade('NB003', '该批量处理信息不唯一')
else:
TradeContext.SwapFileName = records[0][2].strip()
TradeContext.ProcMsg = records[0][5].strip()
TradeContext.FileType = records[0][11].strip()
TradeContext.batchNo = records[0][0].strip()
TradeContext.errorCode = "0000"
TradeContext.errorMsg = "交易成功"
AfaLoggerFunc.tradeInfo('---------新农保柜面业务退出------------')
return ExitSubTrade('0000', '交易成功')
示例8: ChkSysInfo
def ChkSysInfo( ):
AfaLoggerFunc.tradeInfo( '=====判断业务编号开始=====' )
#判断业务编号 AG2016
if not( TradeContext.existVariable( "sysId" ) and len(TradeContext.sysId.strip()) > 0):
TradeContext.errorCode,TradeContext.errorMsg = 'E9999', "业务编号不存在"
raise AfaFlowControl.flowException( )
if not(TradeContext.sysId == 'AG2016') :
TradeContext.errorCode,TradeContext.errorMsg = 'E9999', "非此业务编号,不能做此业务!"
raise AfaFlowControl.flowException( )
示例9: SubModuleDoFst
def SubModuleDoFst( ):
AfaLoggerFunc.tradeInfo( '反交易数据预查询,查询是否有此缴费记录' )
try:
sql = "select workdate,worktime,userno,tellerno,brno,unitno,amount,trxcode from afa_maintransdtl"
sql = sql + " where agentserialno = '"+TradeContext.preAgentSerno+"' and workdate = '"+TradeContext.workDate+"' and trxcode='8495'"
sql = sql + " and revtranf = '0' and bankstatus = '0'and chkflag = '9'"
#20120718陈浩添加
sql = sql + " and sysid = '" + TradeContext.sysId.strip() + "' "
sql = sql + " and note2 = '" + TradeContext.busino.strip() + "' "
AfaLoggerFunc.tradeInfo('反交易查询语句:'+ sql)
records = AfaDBFunc.SelectSql( sql )
AfaLoggerFunc.tradeInfo('反交易查询的结果:'+ str(records))
if records == None:
TradeContext.errorCode,TradeContext.errorMsg = "0001","反交易查询数据失败"
raise AfaFlowControl.flowException( )
elif(len(records) < 1):
TradeContext.errorCode,TradeContext.errorMsg = "0001","无此交易"
return False
else:
if(records[0][3] != TradeContext.tellerno):
TradeContext.errorCode,TradeContext.errorMsg = "0001","原交易非本柜员所做,不能做此交易"
return False
if(records[0][4] != TradeContext.brno):
TradeContext.errorCode,TradeContext.errorMsg = "0001","原交易非本网点所做,不能做此交易"
return False
if(records[0][5] != TradeContext.unitno):
TradeContext.errorCode,TradeContext.errorMsg = "0001","与原交易公司不符,不能做此交易"
return False
if(records[0][6].strip() != TradeContext.amount.strip()):
TradeContext.errorCode,TradeContext.errorMsg = "0001","与原交易金额不符,不能做此交易"
return False
TradeContext.PreWorkDate = records[0][0] #原交易日期
TradeContext.PreWorktime = records[0][1] #原交易时间
TradeContext.PreTrxCode = records[0][7] #原交易码
TradeContext.amount = records[0][6] #金额
TradeContext.preAgentSerno = TradeContext.preAgentSerno #原交易流水号
return True
except Exception, e:
AfaLoggerFunc.tradeInfo( str(e) )
AfaFlowControl.flowException( )
示例10: SubModuleDoSnd
def SubModuleDoSnd():
AfaLoggerFunc.tradeInfo('缴费信息查询交易[T'+TradeContext.TemplateCode+'_'+TradeContext.TransCode+']' )
try:
sql = "select agentserialno,"
sql = sql + "userno,username,idcode,amount,usernameb,idcodeb,loandate,loanenddate,crevouno,crebarno,procode,cpicteller,note1 "
sql = sql + " from afa_adbinfo where userno = '" + TradeContext.CpicNo.strip() + "' and note3 = '" + TradeContext.unitno.strip() + "'"
sql = sql + " and workdate = '"+TradeContext.workDate + "'"
sql = sql + " and tellerno = '"+TradeContext.tellerno + "'"
sql = sql + " and dtlstatus = '0' "
sql = sql + " order by agentserialno desc"
AfaLoggerFunc.tradeInfo('缴费信息查询语句'+ sql)
records = AfaDBFunc.SelectSql( sql )
if(len(records) < 1):
TradeContext.errorCode,TradeContext.errorMsg = "0001","无此投保信息"
return False
else:
#用户编号(保险单号)
TradeContext.CpicNo = records[0][1]
#投保人名称
TradeContext.UserName = records[0][2]
#投保人身份证号码
TradeContext.GovtID = records[0][3]
#金额
TradeContext.PaymentAmt = records[0][4]
#被保人姓名
TradeContext.UserNameB = records[0][5]
#被保人身份证号码
TradeContext.GovtIDB = records[0][6]
#借款日期
TradeContext.LoanDate = records[0][7]
#借款到期日
TradeContext.LoanEndDate = records[0][8]
#借款凭证编号
TradeContext.CreVouNo = records[0][9]
#贷款合同编号
TradeContext.CreBarNo = records[0][10]
#保险种类
TradeContext.ProCode = records[0][11]
#太保业务员代码
TradeContext.CpicTeller = records[0][12]
#保单号
TradeContext.CpciPNo = records[0][13]
#交易返回码
TradeContext.errorCode = '0000'
AfaLoggerFunc.tradeInfo('退出缴费信息查询交易' )
return True
except Exception, e:
AfaFlowControl.exitMainFlow(str(e))
示例11: SubModuleDoSnd
def SubModuleDoSnd():
AfaLoggerFunc.tradeInfo('进入查询交易[T'+TradeContext.TemplateCode+'_'+TradeContext.TransCode+']与第三方通讯后处理' )
try:
Party3Context.agentSerialno = TradeContext.agentserialno
Party3Context.workDate = TradeContext.workDate
Party3Context.workTime = TradeContext.workTime
Party3Context.amount = TradeContext.amount
Party3Context.hostserialno = TradeContext.hostserialno
Party3Context.CreBarNo = TradeContext.CreBarNo
Party3Context.CreVouNo = TradeContext.CreVouNo
Party3Context.LoanDate = TradeContext.LoanDate
Party3Context.LoanEndDate = TradeContext.LoanEndDate
Party3Context.ProCode = TradeContext.ProCode
Party3Context.ProCodeStr = TradeContext.ProCodeStr
Party3Context.PlanName = TradeContext.PlanName
Party3Context.AccType = TradeContext.AccType
names = Party3Context.getNames( )
for name in names:
value = getattr( Party3Context, name )
setattr( TradeContext, name, value )
#AfaLoggerFunc.tradeInfo("字段名称 ["+str(name)+"] = "+str(value))
if( TradeContext.errorCode == '0000' ):
#if( TradeContext.existVariable( "ProCodeStr" ) ):
# if (TradeContext.ProCodeStr == "EL5602"):
# TradeContext.ProCode == "1"
# else:
# TradeContext.ProCode == "0"
#责任起始日期日期
if ( TradeContext.existVariable( "EffDate" )):
if ( len(str(TradeContext.EffDate)) == 14 ):
TradeContext.EffDate = TradeContext.EffDate[0:4]+TradeContext.EffDate[6:8]+TradeContext.EffDate[10:12]
if ( TradeContext.existVariable( "TermDate" )):
if ( len(str(TradeContext.TermDate)) == 14 ):
TradeContext.TermDate = TradeContext.TermDate[0:4]+TradeContext.TermDate[6:8]+TradeContext.TermDate[10:12]
update_sql = "update afa_maintransdtl set "
update_sql = update_sql + " userno = '" + TradeContext.NCpicNo + "'"
update_sql = update_sql + " where userno = '" + TradeContext.OCpicNo + "'"
if not AfaDBFunc.UpdateSqlCmt(update_sql):
return AfaFlowControl.exitThisFlow("A999","更新投保单号失败")
AfaLoggerFunc.tradeInfo('退出查询交易[T'+TradeContext.TemplateCode+'_'+TradeContext.TransCode+']与第三方通讯后处理' )
return True
except Exception, e:
AfaFlowControl.exitMainFlow(str(e))
示例12: FalseMsg
def FalseMsg():
AfaLoggerFunc.tradeInfo('>>>存放导入错误信息...')
try:
errorFile = '/home/maps/afa/data/batch/down/' + TradeContext.sysId + TradeContext.busiNo[6:] + TradeContext.workDate + TradeContext.prefileName[-7:-4]+ "_WF.TXT"
mfp = open( errorFile, 'a' )
AfaLoggerFunc.tradeInfo("错误信息的文件为:" + errorFile)
TradeContext.errorFile = TradeContext.errorMsg
mfp = open( errorFile, 'a' )
mfp.write( TradeContext.errorFile + "\n")
mfp.close()
except AfaFlowControl.flowException, e:
AfaFlowControl.exitMainFlow( str(e) )
示例13: SubModuleDoFst
def SubModuleDoFst( ):
AfaLoggerFunc.tradeInfo( '反交易数据预查询,查询是否有此缴费记录' )
try:
sql = "select workdate,userno,tellerno,brno,amount from afa_maintransdtl"
sql = sql + " where agentserialno = '"+TradeContext.preAgentSerno+"' and workdate = '"+TradeContext.workDate+"' and trxcode='8627'"
sql = sql + " and revtranf = '0' and bankstatus = '0'and chkflag = '9'"
AfaLoggerFunc.tradeInfo('反交易查询语句:'+ sql)
records = AfaDBFunc.SelectSql( sql )
AfaLoggerFunc.tradeInfo('反交易查询的结果:'+ str(records))
if records == None:
TradeContext.errorCode,TradeContext.errorMsg = "0001","反交易查询数据失败"
raise AfaFlowControl.flowException( )
elif(len(records) < 1):
TradeContext.errorCode,TradeContext.errorMsg = "0001","无此交易"
return False
else:
if(records[0][1] != TradeContext.punishNo):
TradeContext.errorCode,TradeContext.errorMsg = "0001","与原交易的处罚交款书编号不一致,不能做此交易"
return False
if(records[0][2] != TradeContext.tellerno):
TradeContext.errorCode,TradeContext.errorMsg = "0001","原交易非本柜员所做,不能做此交易"
return False
if(records[0][3] != TradeContext.brno):
TradeContext.errorCode,TradeContext.errorMsg = "0001","原交易非本网点所做,不能做此交易"
return False
if(records[0][4].strip() != TradeContext.amount.strip()):
TradeContext.errorCode,TradeContext.errorMsg = "0001","与原交易金额不符,不能做此交易"
return False
TradeContext.orgDate = records[0][0] #原交易日期
TradeContext.punishNo = records[0][1] #处罚交款书编号
TradeContext.userno = records[0][1] #初始化userno的值,取消变量检查时需要
TradeContext.amount = records[0][4] #金额
TradeContext.preAgentSerno = TradeContext.preAgentSerno #原交易流水号
TradeContext.note2 = TradeContext.busino #签约单位编号
return True
except Exception, e:
AfaLoggerFunc.tradeInfo( str(e) )
AfaFlowControl.flowException( )
示例14: SubModuleDoFst
def SubModuleDoFst( ):
AfaLoggerFunc.tradeInfo( '初始化续期查询交易变量' )
#交易代码(8612)
TradeContext.tradeCode = TradeContext.TransCode
#保险公司代码
if not( TradeContext.existVariable( "unitno" ) and len(TradeContext.unitno.strip()) > 0):
TradeContext.errorCode,TradeContext.errorMsg = 'E9999', "不存在保险公司代码"
raise AfaFlowControl.flowException( )
#保险单号
if not( TradeContext.existVariable( "policy" ) and len(TradeContext.policy.strip()) > 0):
TradeContext.errorCode,TradeContext.errorMsg = 'E9999', "不存在保险单号"
raise AfaFlowControl.flowException( )
return True
示例15: main
def main( ):
AfaLoggerFunc.tradeInfo('***农信银系统: 往账.本地类操作模板['+TradeContext.TemplateCode+'_'+TradeContext.TransCode+']进入***')
try:
#=====================初始化返回报文变量================================
TradeContext.tradeResponse=[]
#=====================获取系统日期时间==================================
#TradeContext.BJEDTE=AfaUtilTools.GetHostDate( )
TradeContext.BJETIM=AfaUtilTools.GetSysTime( )
#TradeContext.BESBNO = '3400008889'
#=====================系统公共校验======================================
if not rccpsFunc.ChkPubInfo(PL_BRSFLG_SND) :
raise AfaFlowControl.flowException( )
#=====================系统状态校验======================================
if not rccpsFunc.ChkSysInfo( 'AFA' ) :
raise AfaFlowControl.flowException( )
#=====================机构合法性校验====================================
#if not rccpsFunc.ChkUnitInfo( ) :
# raise AfaFlowControl.flowException( )
#=====================动态加载交易脚本==================================
trxModuleName = 'T'+TradeContext.TemplateCode+'_'+TradeContext.TransCode
try:
trxModuleHandle=__import__( trxModuleName )
except Exception, e:
AfaLoggerFunc.tradeInfo(e)
raise AfaFlowControl.flowException( 'A0001', '加载交易脚本失败或交易脚本不存在,执行交易失败' )
#=====================个性化处理(本地操作)==============================
AfaLoggerFunc.tradeInfo( 'TransCode:' + TradeContext.TransCode )
if not trxModuleHandle.SubModuleDoFst( ) :
raise AfaFlowControl.flowException( )
#=====================自动打包==========================================
AfaFunc.autoPackData()
#=====================退出模板==========================================
AfaLoggerFunc.tradeInfo('***农信银系统: 往账.本地类操作模板['+TradeContext.TemplateCode+'_'+TradeContext.TransCode+']退出***')