Beispiel #1
0
  private CounterTO getRegCounterTO(String mbrId) {
    BonusDAO bonusDAO = new BonusDAO();
    CounterTO counterTO = bonusDAO.getRegCounterTO(mbrId);
    int countryId = Integer.parseInt(counterTO.getBranchTO().getCountry().getId());
    int salesItemId = ConstantValue.MBR_TYPE_PLATINUM;

    SalesItemPricingService sipService = new SalesItemPricingService();
    SalesItemPricingTO sipTO = sipService.loadCounterInfo(salesItemId, countryId);

    counterTO.setPlatinumBv(sipTO.getBv());

    return counterTO;
  }