/** 以下为修改银行卡新增方法 * */
 @RequestMapping(value = "selectByCrediApplicationId")
 public @ResponseBody AccountInfo selectByCrediApplicationId(Long creditapplicationId) {
   System.out.println(creditapplicationId);
   System.out.println(creditapplicationId);
   System.out.println(creditapplicationId);
   System.out.println(creditapplicationId);
   System.out.println(creditapplicationId);
   System.out.println(creditapplicationId);
   return accountInfoService.selectByCrediApplicationId(creditapplicationId);
 }
  /** 以下为修改银行卡新增方法 * */
  @RequestMapping(value = "returnBankCardJSP")
  public ModelAndView returnBankCardJSP(Long creditapplicationId) {
    System.out.println(creditapplicationId);
    AccountInfo accountInfo = accountInfoService.selectByCrediApplicationId(creditapplicationId);
    ModelAndView modelAndView = new ModelAndView();
    modelAndView.setViewName("/jsp/rc/basicInfo/bankCardNew.jsp");
    modelAndView.addObject("creditapplicationId", creditapplicationId);

    Map map = new HashMap();
    DESPlus desPlus;
    try {
      desPlus = new DESPlus();
      map.put("clientid", desPlus.encrypt(creditapplicationId + "AccountCard"));
    } catch (Exception e) {
      // TODO Auto-generated catch block
      e.printStackTrace();
    }
    String clientid = (String) map.get("clientid");

    System.out.println(clientid);
    System.out.println(clientid);
    System.out.println(clientid);
    System.out.println(clientid);
    System.out.println(clientid);

    long nowTime = System.currentTimeMillis();
    String sMillis[] = new String[2];
    try {
      Properties properties = PropertiesUtil.loadProperties("spring/cm/cm.properties");
      DESPlus desPlus2 = new DESPlus();
      sMillis[0] = desPlus2.encrypt(nowTime + "");
      String cmIp = properties.getProperty("cm.hostip");
      String DESIp = desPlus2.encrypt(cmIp);
      sMillis[1] = DESIp;
    } catch (Exception e) {
      e.printStackTrace();
    }

    String signTime = sMillis[0];
    String signIp = sMillis[1];

    modelAndView.addObject("clientid", clientid);
    modelAndView.addObject("signTime", signTime);
    modelAndView.addObject("signIp", signIp);
    modelAndView.addObject("accountInfo", accountInfo);
    return modelAndView;
  }