// ----------------------------助手 public JSONObject performGetExchangeResult( double currencyDenomination, ECoin sourceCurrencyType, ECoin destinationCurrencyType) { // TODO Auto-generated method stub return Helper.wrapUp( mhelper.getExchangeResult( currencyDenomination, sourceCurrencyType, destinationCurrencyType)); }
/** * @author 王 亭 2011-3-31 * @param paymentName * @param paymentAmt * @param paymentActNo * @param paymentActPasswd * @param paymentNum * @param charger * @return */ public JSONObject performPayment( String paymentName, double paymentAmt, String paymentActNo, String paymentActPasswd, String charger) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp( mTrans.payment(paymentName, paymentAmt, paymentActNo, paymentActPasswd, charger)); return jsonObj; }
public JSONObject performOpenCard( String userName, String creditCardNo, String availbDate, String idNo, String cellPhone, String tel, String pwd) { // TODO Auto-generated method stub return Helper.wrapUp( mCc.openCard(userName, creditCardNo, availbDate, idNo, cellPhone, tel, pwd)); }
/** * @author 王 亭 2011-3-24 * @param paymentName * @param paymentAmt * @param paymentActNo * @param paymentActPasswd * @param paymentNum * @return */ public JSONObject performRecharge( String paymentName, double paymentAmt, String paymentActNo, String paymentActPasswd, String paymentNum, String operator) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp( mTrans.recharge( paymentName, paymentAmt, paymentActNo, paymentActPasswd, paymentNum, operator)); return jsonObj; }
public JSONObject performSetNickName(String accNo, String name) { // TODO Auto-generated method stub return Helper.wrapUp(mUpdate.setNickName(accNo, name)); }
public JSONObject performSetBind(String accNo, String password) { // TODO Auto-generated method stub return Helper.wrapUp(mUpdate.setBind(accNo, password)); }
// ----------------------------查询 public JSONObject performAcctIsActive(String actNo) { // TODO Auto-generated method stub return Helper.wrapUp(mQuery.acctIsActive(actNo)); }
/** * 功能号:0103 * * @author hosolo * @param userId * @param accType * @param accState * @return */ public JSONObject performGetAccWithNickName(String userId, String accType, EAccState accState) { return Helper.wrapUp(mAccSystem.getAccWithNickName(userId, accType, accState)); }
// ----------------------------系统 public JSONObject performGetUserInfo(String userId) { return Helper.wrapUp(mAccSystem.getUserInfo(userId)); }
public JSONObject performGetRate(ERateType type) { // TODO Auto-generated method stub return Helper.wrapUp(mhelper.getRate(type)); }
public JSONObject performDestroyCard( String userName, String creditCardNo, String idNo, String cellPhone, String pwd) { // TODO Auto-generated method stub return Helper.wrapUp(mCc.destroyCard(userName, creditCardNo, idNo, cellPhone, pwd)); }
public JSONObject performSetOrderCard( String accNo, String aliss, String reason, String net, String netaddress, double cost) { // TODO Auto-generated method stub return Helper.wrapUp(mUpdate.setOrderCard(accNo, aliss, reason, net, netaddress, cost)); }
/** * @author 王 亭 2011-3-24 * @param account * @param password * @param amtph * @param amtnum * @return */ public JSONObject performGetTargetPhoneInfo( String account, String password, String amtph, double amtnum) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mTrans.getTargetPhoneInfo(account, password, amtph, amtnum)); return jsonObj; }
public JSONObject performGetRechargeInfo( String paymentName, String paymentActNo, double paymentAmt, String paymentPhoneNum) { // TODO Auto-generated method stub return Helper.wrapUp( mTrans.getRechargeInfo(paymentName, paymentActNo, paymentAmt, paymentPhoneNum)); }
/** * @author 王 亭 2011-3-28 * @param id * @return */ public JSONObject performGetPaymentInfo(String userid, String id) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mTrans.getPaymentInfo(userid, id)); return jsonObj; }
/** * @author 王 亭 2011-3-24 * @param id * @return */ public JSONObject performGetListQueryInfo(String type, String id) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mTrans.getListQueryInfo(type, id)); return jsonObj; }
public JSONObject performGetOrderInfo(String acc) { // TODO Auto-generated method stub return Helper.wrapUp(mQuery.getOrderInfo(acc)); }
/** * 传入账户号,取得账户管理所需要得账户信息 * * @author 王亭 * @param account * @return 账户信息 */ public JSONObject performGetAccInfo(String account) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mQuery.getAccInfo(account)); return jsonObj; }
// ----------------------------信用卡专用 public JSONObject performCreditRepayment( String account, String password, String tarAcc, double payamt) { // TODO Auto-generated method stub return Helper.wrapUp(mCc.creditRepayment(account, password, tarAcc, payamt)); }
/** * @author 王 亭 2011-3-24 * @param serNo * @param detail * @return */ public JSONObject performSetDetail(String serNo, String detail) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mTrans.setDetail(serNo, detail)); return jsonObj; }
public JSONObject performGetCreditRepaymentInfor(String account) { // TODO Auto-generated method stub return Helper.wrapUp(mCc.getCreditRepaymentInfor(account)); }
public JSONObject performVerifyPassword(String account, String password) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mQuery.verifyPassword(account, password)); return jsonObj; }
public JSONObject preformTransfeActToAct( String account, String password, String amtAct, double amtnum) { JSONObject jsonObj = new JSONObject(); jsonObj = Helper.wrapUp(mTrans.transfeActToAct(account, password, amtAct, amtnum)); return jsonObj; }
// ---------------------------- 更新,修改 public JSONObject performDeleAcc(String accNo) { // TODO Auto-generated method stub return Helper.wrapUp(mUpdate.deleAcc(accNo)); }
public JSONObject performGetMoneyType() { // TODO Auto-generated method stub return Helper.wrapUp(mhelper.getMoneyType()); }
public JSONObject performLossRegister(String accNo) { // TODO Auto-generated method stub return Helper.wrapUp(mUpdate.lossRegister(accNo)); }
/** * 功能号:0101 * * @author hosolo * @return */ public JSONObject performGetAccType() { return Helper.wrapUp(mAccSystem.getAccType()); }
public JSONObject performSetActActive(String accNo, String accPwd) { // TODO Auto-generated method stub return Helper.wrapUp(mUpdate.setActActive(accNo, accPwd)); }
/** * @author hosolo * @param userId * @param accNo * @param accType * @param accNickName * @param accPwd * @return */ public JSONObject performAddAcc( String userId, String accNo, String accType, String accNickName, String accPwd) { return Helper.wrapUp(mAccSystem.addAcc(userId, accNo, accType, accNickName, accPwd)); }
/** * 0126 * * @author hosolo * @param payName * @param state * @return */ public JSONObject performUpdatePaymentState(String payName, String state) { return Helper.wrapUp(mAccSystem.updatePaymentState(payName, state)); }