| | |
| | | } |
| | | vip.setCouponList(couponVipRespList); |
| | | String ticketJson = vip.getTicketJson(); |
| | | if(ticketJson!=null){ |
| | | JSONArray ticketJsonArray = JSONArray.parseArray(ticketJson); |
| | | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); |
| | | |
| | | for (Object o : ticketJsonArray) { |
| | | JSONObject ticketJsonObject = (JSONObject) o; |
| | | TicketVipResp ticketVipResp = new TicketVipResp(); |
| | |
| | | ticketVipResp.setEffectiveTime(simpleDateFormat.format(date)); |
| | | ticketVipRespList.add(ticketVipResp); |
| | | } |
| | | } |
| | | vip.setTicketList(ticketVipRespList); |
| | | } |
| | | return list; |