|  |  |  | 
|---|
|  |  |  | temp.setStoreName(""); | 
|---|
|  |  |  | temp.setAmount(new BigDecimal(vipPayment.getAmount().toString())); | 
|---|
|  |  |  | temp.setIncomeType(1); | 
|---|
|  |  |  | temp.setState(vipPayment.getState()); | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | temp.setInsertTime(vipPayment.getInsertTime()); | 
|---|
|  |  |  | if (UserExt.getUser().getObjectType()!=1){ | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | 
|---|
|  |  |  | temp.setAmount(rechargeRecordsVO.getAmount()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | temp.setIncomeType(2); | 
|---|
|  |  |  | temp.setState(rechargeRecordsVO.getPayStatus()); | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | incomeVOS.add(temp); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | temp.setAmount(registerOrderVO.getMoney()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | temp.setIncomeType(3); | 
|---|
|  |  |  | if (registerOrderVO.getPayStatus() == 1){ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (registerOrderVO.getPayStatus() == 2){ | 
|---|
|  |  |  | temp.setState(1); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | incomeVOS.add(temp); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | temp.setAmount(new BigDecimal(competition.getAmount().toString())); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | temp.setIncomeType(4); | 
|---|
|  |  |  | if (competition.getPayStatus() == 1){ | 
|---|
|  |  |  |  | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | }else if (competition.getPayStatus() == 2){ | 
|---|
|  |  |  | temp.setState(1); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | incomeVOS.add(temp); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | List<SiteBooking> siteBookings = siteClient.listAll(siteBookingQuery); | 
|---|
|  |  |  | for (SiteBooking siteBooking : siteBookings) { | 
|---|
|  |  |  | IncomeVO temp = new IncomeVO(); | 
|---|
|  |  |  | if (siteBooking.getStatus() == 0 || siteBooking.getStatus() == 5 || siteBooking.getStatus() == 4) { | 
|---|
|  |  |  | temp.setState(1); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | TAppUser tAppUser = appUserClient.queryAppUser1(siteBooking.getAppUserId()); | 
|---|
|  |  |  | Store store = storeClient.getStoreById(siteBooking.getStoreId()); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | temp.setPhone(worldCupIncomeVO.getPhone()); | 
|---|
|  |  |  | temp.setAmount(new BigDecimal(worldCupIncomeVO.getAmount())); | 
|---|
|  |  |  | temp.setIncomeType(6); | 
|---|
|  |  |  | temp.setState(1); | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | temp.setInsertTime(simpleDateFormat.parse(worldCupIncomeVO.getPayTime())); | 
|---|
|  |  |  | incomeVOS.add(temp); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | temp.setStoreName(""); | 
|---|
|  |  |  | temp.setAmount(new BigDecimal(vipPayment.getAmount().toString())); | 
|---|
|  |  |  | temp.setIncomeType(1); | 
|---|
|  |  |  | temp.setState(vipPayment.getState()); | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | temp.setInsertTime(vipPayment.getInsertTime()); | 
|---|
|  |  |  | if (UserExt.getUser().getObjectType()!=1){ | 
|---|
|  |  |  | break; | 
|---|
|  |  |  | 
|---|
|  |  |  | temp.setAmount(rechargeRecordsVO.getAmount()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | temp.setIncomeType(2); | 
|---|
|  |  |  | temp.setState(rechargeRecordsVO.getPayStatus()); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | incomeVOS.add(temp); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | TAppUser tAppUser = appUserClient.queryById(registerOrderVO.getAppUserId()); | 
|---|
|  |  |  | IncomeVO temp = new IncomeVO(); | 
|---|
|  |  |  | temp.setId(registerOrderVO.getId().toString()); | 
|---|
|  |  |  | if (registerOrderVO.getPayStatus()==2) { | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | temp.setState(1); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (tAppUser!=null){ | 
|---|
|  |  |  | if (tAppUser.getProvince()!=null){ | 
|---|
|  |  |  | temp.setProvince(tAppUser.getProvince()); | 
|---|
|  |  |  | 
|---|
|  |  |  | temp.setAmount(registerOrderVO.getMoney()); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | temp.setIncomeType(3); | 
|---|
|  |  |  | temp.setState(registerOrderVO.getPayStatus()); | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | incomeVOS.add(temp); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | temp.setStoreName(substring); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (competition.getPayStatus()==2) { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | temp.setState(1); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | temp.setId(competition.getId().toString()); | 
|---|
|  |  |  | if (tAppUser!=null){ | 
|---|
|  |  |  | if (tAppUser.getProvince()!=null){ | 
|---|
|  |  |  | 
|---|
|  |  |  | temp.setAmount(new BigDecimal(competition.getAmount().toString())); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | temp.setIncomeType(4); | 
|---|
|  |  |  | temp.setState(competition.getPayStatus()); | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | incomeVOS.add(temp); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | } | 
|---|
|  |  |  | 
|---|
|  |  |  | List<SiteBooking> siteBookings = siteClient.listAll(siteBookingQuery); | 
|---|
|  |  |  | for (SiteBooking siteBooking : siteBookings) { | 
|---|
|  |  |  | IncomeVO temp = new IncomeVO(); | 
|---|
|  |  |  | if (siteBooking.getStatus() == 0 || siteBooking.getStatus() == 5 || siteBooking.getStatus() == 4) { | 
|---|
|  |  |  | temp.setState(1); | 
|---|
|  |  |  | } else { | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | TAppUser tAppUser = appUserClient.queryAppUser1(siteBooking.getAppUserId()); | 
|---|
|  |  |  | Store store = storeClient.getStoreById(siteBooking.getStoreId()); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | temp.setPhone(worldCupIncomeVO.getPhone()); | 
|---|
|  |  |  | temp.setAmount(new BigDecimal(worldCupIncomeVO.getAmount())); | 
|---|
|  |  |  | temp.setIncomeType(6); | 
|---|
|  |  |  | temp.setState(1); | 
|---|
|  |  |  | temp.setState(2); | 
|---|
|  |  |  | temp.setInsertTime(simpleDateFormat.parse(worldCupIncomeVO.getPayTime())); | 
|---|
|  |  |  | incomeVOS.add(temp); | 
|---|
|  |  |  | } | 
|---|