Exemple #1
0
 private void _savePayVouId(String vouIds, ZcDingdian dd, RequestMeta requestMeta) {
   // TCJLODO Auto-generated method stub
   if (vouIds == null) return;
   baseDao.delete("ZC_PAY_GK_INFO.deleteByZcBillId", dd.getDdCode());
   StringTokenizer st = new StringTokenizer(vouIds, PayForZcUtil.RTN_DATA_SPLIT);
   String interfaceType = AsOptionUtil.getInstance().getOptionVal(ZcPayGkInfo.GK_INTERFACE_TYPE);
   String vouType =
       interfaceType.equalsIgnoreCase("Y")
           ? ZcPayGkInfo.GK_VOU_TYPE_ZFPZ
           : ZcPayGkInfo.GK_VOU_TYPE_ZFSQ;
   while (st.hasMoreTokens()) {
     String vouId = st.nextToken();
     ZcPayGkInfo info = new ZcPayGkInfo();
     info.setZcBillType(ZcPayGkInfo.ZC_BILL_TYPE_DINGDIAN);
     info.setZcBillId(dd.getDdCode());
     info.setGkVouId(vouId);
     info.setGkReturnFlag("N");
     info.setSendGkDate(requestMeta.getSysDate());
     info.setGkVouType(vouType);
     baseDao.insert("ZC_PAY_GK_INFO.insert", info);
   }
 }
package com.ufgov.zc.server.zc.service.impl;