ECAP授权问题

1.金额授权没有反应
柜员权限控制表没有数据,必须有对应的网络中心号
export to t_teller_ctl.20100814 of del select * from t_teller_ctl

import from t_teller_ctl.20100814 of del insert into t_teller_ctl


页面数据
authresult   输入输出 HB_Authorization_Result   -1

authFlag     输入输出 HB_AuthFlag

accCurrCode1 输出                                    "CNY"

teller       输入     HB_Teller_Level com.adtec.client.login.SessionTeller.tellerLevel();


设置授权点
setCashAuthPoint(authFlag,4,this,accCurrCode1,teller);


金额授权
return tranAuth('_QY_F3_92607200', '_QY_F3_926072_01', authFlag, button75, authresult,'0',cash,accCurrCode1,'');


交易授权
return tranAuth('_QY_F3_92607200', '_QY_F3_926072_01', authFlag, button75, authresult,'1','','','');


交易授权和金额授权同时存在,平台会自动选择级别较高的柜员
return tranAuth('_QY_F3_92607200', '_QY_F3_926072_01', authFlag, button75, authresult,'1',cash,accCurrCode1,'');


动态授权
com.adtec.client.returncode.OutPutCodeDispose.dispose("GM_F6_91114100_01");
java.util.List alpage = new java.util.ArrayList();

String[] aspage = new String[2];
aspage[0] = "SUBTRAN_OUT_PG";

if("00000".equals(com.adtec.client.util.DataPoolTool.getInfoFromDataPool("__ERR_RET",0)))
{
  aspage[1] = "GM_F6_91114100_01_001010";;
}
else
{
  aspage[1] = "GM_F6_91114100_init";
}

alpage.add(aspage);

return alpage;


db
insert into t_authorization values('_QY_F3_92607100','',1,'12','100','','')
insert into t_authorization values('_QY_F3_92607200','',1,'12','100','','')

select * from t_authorization where TRANSCODE like '%QY%'

insert into t_authorization values('_QY_F3_92607100','',4,'','301','','')
insert into t_authorization values('_QY_F3_92607200','',4,'','301','','')


多个授权点
if(document.form2.TS_F_paycon.value == '6')
{
  setAuthPointer(authFlag,5);
}
else if(document.form2.TS_F_paymode.value == '4')
{
  setAuthPointer(authFlag,6);
}
else if(document.form2.TS_F_paymode.value == '3')
{
  setAuthPointer(authFlag,7);
}

if(!tranAuth('JM_F17_912802', 'JM_F17_91280200_01', authFlag, button119, authResult,'0','','',''))
{
  return false;
}else
{
  return true;
}

insert into t_authorization values('JM_F17_912802','',5,'12','100','','无限制支付方式缴费');
insert into t_authorization values('JM_F17_912802','',6,'12','100','','内部帐缴费');
insert into t_authorization values('JM_F17_912802','',7,'12','100','','支票缴费');

你可能感兴趣的:(java,sql)