예제 #1
0
 // ----------------------------助手
 public JSONObject performGetExchangeResult(
     double currencyDenomination, ECoin sourceCurrencyType, ECoin destinationCurrencyType) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(
       mhelper.getExchangeResult(
           currencyDenomination, sourceCurrencyType, destinationCurrencyType));
 }
예제 #2
0
 /**
  * @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;
 }
예제 #3
0
 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));
 }
예제 #4
0
 /**
  * @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;
 }
예제 #5
0
 public JSONObject performSetNickName(String accNo, String name) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.setNickName(accNo, name));
 }
예제 #6
0
 public JSONObject performSetBind(String accNo, String password) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.setBind(accNo, password));
 }
예제 #7
0
 // ----------------------------查询
 public JSONObject performAcctIsActive(String actNo) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mQuery.acctIsActive(actNo));
 }
예제 #8
0
 /**
  * 功能号: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));
 }
예제 #9
0
 // ----------------------------系统
 public JSONObject performGetUserInfo(String userId) {
   return Helper.wrapUp(mAccSystem.getUserInfo(userId));
 }
예제 #10
0
 public JSONObject performGetRate(ERateType type) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mhelper.getRate(type));
 }
예제 #11
0
 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));
 }
예제 #12
0
 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));
 }
예제 #13
0
 /**
  * @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;
 }
예제 #14
0
 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));
 }
예제 #15
0
 /**
  * @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;
 }
예제 #16
0
 /**
  * @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;
 }
예제 #17
0
 public JSONObject performGetOrderInfo(String acc) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mQuery.getOrderInfo(acc));
 }
예제 #18
0
 /**
  * 传入账户号,取得账户管理所需要得账户信息
  *
  * @author 王亭
  * @param account
  * @return 账户信息
  */
 public JSONObject performGetAccInfo(String account) {
   JSONObject jsonObj = new JSONObject();
   jsonObj = Helper.wrapUp(mQuery.getAccInfo(account));
   return jsonObj;
 }
예제 #19
0
 // ----------------------------信用卡专用
 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));
 }
예제 #20
0
 /**
  * @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;
 }
예제 #21
0
 public JSONObject performGetCreditRepaymentInfor(String account) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mCc.getCreditRepaymentInfor(account));
 }
예제 #22
0
 public JSONObject performVerifyPassword(String account, String password) {
   JSONObject jsonObj = new JSONObject();
   jsonObj = Helper.wrapUp(mQuery.verifyPassword(account, password));
   return jsonObj;
 }
예제 #23
0
 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;
 }
예제 #24
0
 // ---------------------------- 更新,修改
 public JSONObject performDeleAcc(String accNo) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.deleAcc(accNo));
 }
예제 #25
0
 public JSONObject performGetMoneyType() {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mhelper.getMoneyType());
 }
예제 #26
0
 public JSONObject performLossRegister(String accNo) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.lossRegister(accNo));
 }
예제 #27
0
 /**
  * 功能号:0101
  *
  * @author hosolo
  * @return
  */
 public JSONObject performGetAccType() {
   return Helper.wrapUp(mAccSystem.getAccType());
 }
예제 #28
0
 public JSONObject performSetActActive(String accNo, String accPwd) {
   // TODO Auto-generated method stub
   return Helper.wrapUp(mUpdate.setActActive(accNo, accPwd));
 }
예제 #29
0
 /**
  * @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));
 }
예제 #30
0
 /**
  * 0126
  *
  * @author hosolo
  * @param payName
  * @param state
  * @return
  */
 public JSONObject performUpdatePaymentState(String payName, String state) {
   return Helper.wrapUp(mAccSystem.updatePaymentState(payName, state));
 }