| | |
| | | List<TicketVipResp> ticketVipRespList = new ArrayList<>(); |
| | | String couponJson = vip.getCouponJson(); |
| | | JSONArray couponJsonArray = JSONArray.parseArray(couponJson); |
| | | if(couponJsonArray==null){ |
| | | continue; |
| | | } |
| | | for (Object o : couponJsonArray) { |
| | | JSONObject couponJsonObject = (JSONObject) o; |
| | | // 优惠券id |
| | |
| | | } |
| | | vip.setCouponList(couponVipRespList); |
| | | String ticketJson = vip.getTicketJson(); |
| | | if(ticketJson!=null){ |
| | | if(ticketJson!=null && !"".equals(ticketJson)){ |
| | | JSONArray ticketJsonArray = JSONArray.parseArray(ticketJson); |
| | | SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd"); |
| | | for (Object o : ticketJsonArray) { |