Пример #1
0
  @RequestMapping("QryDtlDtl")
  public String queryDtlDtl(Model model, FTZ210205Form form) {
    logger.info("买入返售资产明细查询开始...");
    // 组装查询信息
    FtzInTxnDtl query_FtzInTxnDtl = new FtzInTxnDtl();
    query_FtzInTxnDtl.setMsgId(form.getSelected_msgId());
    query_FtzInTxnDtl.setSeqNo(form.getSelected_seqNo());

    // 查询数据
    FtzInTxnDtl result_FtzInTxnDtl = ftz210205Serv.queryFtzInTxnDtl(query_FtzInTxnDtl);

    if (null == result_FtzInTxnDtl) {
      // 若无数据 则返回提示信息
      model.addAttribute(ResultMessages.info().add("w.sm.0001"));
      logger.error("查询无记录!");
      logger.info("买入返售资产明细查询结束...");
      return "ftzmis/FTZ210205_Qry_Dtl";
    }
    // 有数据则进行数据转换
    result_FtzInTxnDtl.setTranDate(
        DateUtil.getFormatDateAddSprit(result_FtzInTxnDtl.getTranDate()));
    result_FtzInTxnDtl.setOrgTranDate(
        DateUtil.getFormatDateAddSprit(result_FtzInTxnDtl.getOrgTranDate()));
    result_FtzInTxnDtl.setExpireDate(
        DateUtil.getFormatDateAddSprit(result_FtzInTxnDtl.getExpireDate()));
    result_FtzInTxnDtl.setMakDatetime(
        DateUtil.getFormatDateTimeAddSpritAndColon(result_FtzInTxnDtl.getMakDatetime()));
    result_FtzInTxnDtl.setChkDatetime(
        DateUtil.getFormatDateTimeAddSpritAndColon(result_FtzInTxnDtl.getChkDatetime()));
    if (null != result_FtzInTxnDtl.getOppBankCode()
        || !"".equals(result_FtzInTxnDtl.getOppBankCode())) {
      FtzBankCode query_FtzBankCode = new FtzBankCode();
      query_FtzBankCode.setBankCode(result_FtzInTxnDtl.getOppBankCode());
      FtzBankCode result_FtzBankCode = ftz210205Serv.queryFtzBankCode(query_FtzBankCode);
      if (null != result_FtzBankCode) {
        result_FtzInTxnDtl.setOppBankName(result_FtzBankCode.getBankName());
      }
    }

    form.setFtzInTxnDtl(result_FtzInTxnDtl);
    logger.info("买入返售资产明细查询结束 ..");
    return "ftzmis/FTZ210205_Qry_Dtl_Dtl";
  }
Пример #2
0
  @RequestMapping("QryAuthDtlDtl")
  public String queryAuthDtlDtl(Model model, FTZ210205Form form) {

    FtzInMsgCtl query_FtzInMsgCtl = new FtzInMsgCtl();
    query_FtzInMsgCtl.setMsgId(form.getSelected_msgId());
    FtzInMsgCtl result_FtzInMsgCtl = ftz210205Serv.queryFtzInMsgCtl(query_FtzInMsgCtl);
    form.setFather_makTime(result_FtzInMsgCtl.getMakDatetime());
    form.setFather_chkTime(result_FtzInMsgCtl.getChkDatetime());
    model.addAttribute("fatherStatus", result_FtzInMsgCtl.getMsgStatus());

    FtzInTxnDtl query_FtzInTxnDtl = new FtzInTxnDtl();
    query_FtzInTxnDtl.setMsgId(form.getSelected_msgId());
    query_FtzInTxnDtl.setSeqNo(form.getSelected_seqNo());

    FtzInTxnDtl result_FtzInTxnDtl = ftz210205Serv.queryFtzInTxnDtl(query_FtzInTxnDtl);

    if (null == result_FtzInTxnDtl) {
      model.addAttribute(ResultMessages.info().add("w.sm.0001"));
      return "ftzmis/FTZ210205_Auth_Qry_Dtl";
    }
    result_FtzInTxnDtl.setTranDate(
        DateUtil.getFormatDateAddSprit(result_FtzInTxnDtl.getTranDate()));
    result_FtzInTxnDtl.setOrgTranDate(
        DateUtil.getFormatDateAddSprit(result_FtzInTxnDtl.getOrgTranDate()));
    result_FtzInTxnDtl.setExpireDate(
        DateUtil.getFormatDateAddSprit(result_FtzInTxnDtl.getExpireDate()));
    result_FtzInTxnDtl.setMakDatetime(
        DateUtil.getFormatDateTimeAddSpritAndColon(result_FtzInTxnDtl.getMakDatetime()));
    result_FtzInTxnDtl.setChkDatetime(
        DateUtil.getFormatDateTimeAddSpritAndColon(result_FtzInTxnDtl.getChkDatetime()));
    if (null != result_FtzInTxnDtl.getOppBankCode()
        || !"".equals(result_FtzInTxnDtl.getOppBankCode())) {
      FtzBankCode query_FtzBankCode = new FtzBankCode();
      query_FtzBankCode.setBankCode(result_FtzInTxnDtl.getOppBankCode());
      FtzBankCode result_FtzBankCode = ftz210205Serv.queryFtzBankCode(query_FtzBankCode);
      if (null != result_FtzBankCode) {
        result_FtzInTxnDtl.setOppBankName(result_FtzBankCode.getBankName());
      }
    }

    form.setFtzInTxnDtl(result_FtzInTxnDtl);
    return "ftzmis/FTZ210205_Auth_Qry_Dtl_Dtl";
  }
Пример #3
0
  @RequestMapping("UptDtlDtlInit")
  public String UptDtlDtlInit(Model model, FTZ210205Form form) {

    FtzInMsgCtl query_FtzInMsgCtl = new FtzInMsgCtl();
    query_FtzInMsgCtl.setMsgId(form.getSelected_msgId());
    FtzInMsgCtl result_FtzInMsgCtl = ftz210205Serv.queryFtzInMsgCtl(query_FtzInMsgCtl);
    form.setFather_makTime(result_FtzInMsgCtl.getMakDatetime());
    form.setFather_chkTime(result_FtzInMsgCtl.getChkDatetime());

    FtzInTxnDtl query_FtzInTxnDtl = new FtzInTxnDtl();
    query_FtzInTxnDtl.setMsgId(form.getSelected_msgId());
    query_FtzInTxnDtl.setSeqNo(form.getSelected_seqNo());
    FtzInTxnDtl result_FtzInTxnDtl = ftz210205Serv.queryFtzInTxnDtl(query_FtzInTxnDtl);
    result_FtzInTxnDtl.setTranDate(
        DateUtil.getFormatDateAddSprit(result_FtzInTxnDtl.getTranDate()));
    result_FtzInTxnDtl.setOrgTranDate(
        DateUtil.getFormatDateAddSprit(result_FtzInTxnDtl.getOrgTranDate()));
    result_FtzInTxnDtl.setExpireDate(
        DateUtil.getFormatDateAddSprit(result_FtzInTxnDtl.getExpireDate()));
    result_FtzInTxnDtl.setMakDatetime(
        DateUtil.getFormatDateTimeAddSpritAndColon(result_FtzInTxnDtl.getMakDatetime()));
    result_FtzInTxnDtl.setChkDatetime(
        DateUtil.getFormatDateTimeAddSpritAndColon(result_FtzInTxnDtl.getChkDatetime()));
    if (null != result_FtzInTxnDtl.getOppBankCode()
        || !"".equals(result_FtzInTxnDtl.getOppBankCode())) {
      FtzBankCode query_FtzBankCode = new FtzBankCode();
      query_FtzBankCode.setBankCode(result_FtzInTxnDtl.getOppBankCode());
      FtzBankCode result_FtzBankCode = ftz210205Serv.queryFtzBankCode(query_FtzBankCode);
      if (null != result_FtzBankCode) {
        result_FtzInTxnDtl.setOppBankName(result_FtzBankCode.getBankName());
      }
    }

    form.setFtzInTxnDtl(result_FtzInTxnDtl);
    form.setInput_Dtl_flag("upt");
    return "ftzmis/FTZ210205_Input_Dtl_Dtl";
  }