private Map<String, String> getLnkgPymTrgtSumAmts(List<PaymentsVO> paymentsVOs) {

    HashMap<String, String> res = new HashMap<String, String>();

    double pymTrgtAmtSum = 0.00;
    double addvTxAmtSum = 0.00;
    double splyAmtSum = 0.00;

    for (PaymentsVO paymentsVO : paymentsVOs) {

      List<ArLnkgPymTrgtVO> trgtList = paymentsVO.getArLnkgPymEntr().getArLnkgPymTrgt();

      for (ArLnkgPymTrgtVO arLnkgPymTrgtVO : trgtList) {
        pymTrgtAmtSum += Double.parseDouble(arLnkgPymTrgtVO.getPymTrgtAmt());
        addvTxAmtSum += Double.parseDouble(arLnkgPymTrgtVO.getAddvTxAmt());
        splyAmtSum += Double.parseDouble(arLnkgPymTrgtVO.getSplyAmt());
      }
    }

    res.put("pymTrgtAmtSum", String.valueOf(pymTrgtAmtSum));
    res.put("addvTxAmtSum", String.valueOf(addvTxAmtSum));
    res.put("splyAmtSum", String.valueOf(splyAmtSum));

    return res;
  }
  private List<ArLnkgPymTrgtVO> setImdtPymYnAndRshtItemCd(List<ArLnkgPymTrgtVO> trgtList) {

    List<ArLnkgPymTrgtVO> newTrgtList = new ArrayList<ArLnkgPymTrgtVO>();

    for (ArLnkgPymTrgtVO arLnkgPymTrgtVO : trgtList) {
      arLnkgPymTrgtVO.setImdtPymYn("0"); // 익월청구로 세팅
      arLnkgPymTrgtVO.setRshtItemCd(
          "2" + arLnkgPymTrgtVO.getBlItemMclsCd()); // 영수증항목 하드코딩(청구중분류만 있으므로)

      newTrgtList.add(arLnkgPymTrgtVO);
    }
    return newTrgtList;
  }