Пример #1
0
 public String search() {
   provinceList = provinceService.getAllProvince();
   cityList = cityService.roGetCitysByProvince(kenProvince);
   bookingList = incomeService.roSearchIncome(kenProvince, kenCity, customerId, stDate, endDate);
   for (int i = 0; i < bookingList.size(); i++) {
     Booking income = bookingList.get(i);
     bookingList.set(i, income);
     totalpax += income.getPax();
     totalDbamt = totalDbamt.add(income.getDbamt());
     totalCramt = totalCramt.add(income.getCramt());
     totalUnpay = totalDbamt.subtract(totalCramt);
   }
   return SUCCESS;
 }
Пример #2
0
 public String input() {
   provinceList = provinceService.getAllProvince();
   cityList = cityService.roGetCitysByProvince(kenProvince);
   return INPUT;
 }