| | |
| | | * @param out |
| | | */ |
| | | @RequestMapping("getSpikeGoodsList") |
| | | public void getSpikeGoodsList(AcceptData acceptData, Integer page, Long goodsId, String qtime, PrintWriter out) { |
| | | public void getSpikeGoodsList(AcceptData acceptData, Integer page, String goodsId, String qtime, PrintWriter out) { |
| | | List<DaTaoKeDetailV2> detailList0 = daTaoKeGoodsDetailV2Service.getDingDongQiangData(qtime); |
| | | if (detailList0 == null) |
| | | detailList0 = new ArrayList<>(); |
| | |
| | | JSONArray array = new JSONArray(); |
| | | if (page == 1 && goodsId != null && detailList != null) { |
| | | for (int i = 0; i < detailList.size(); i++) { |
| | | if (detailList.get(i).getGoodsId().longValue() == goodsId) { |
| | | if ( TaoBaoUtil.isEqual( detailList.get(i).getGoodsId(), goodsId)) { |
| | | DaTaoKeDetailV2 goods = detailList.get(i); |
| | | detailList.remove(i); |
| | | detailList.add(0, goods); |
| | |
| | | |
| | | JSONArray array = new JSONArray(); |
| | | for (GoodsDetailVO vo : voList) { |
| | | if (acceptData.getSystem() == SystemEnum.yhqjx) { |
| | | if (!StringUtil.isNullOrEmpty(vo.getMoneyInfo().getHongBaoMoney())) { |
| | | if (acceptData.getSystem() == SystemEnum.yhqjx||acceptData.getSystem() == SystemEnum.hsb) { |
| | | //暂时不筛选红包 |
| | | // if (!StringUtil.isNullOrEmpty(vo.getMoneyInfo().getHongBaoMoney())) { |
| | | array.add(gson.toJson(vo)); |
| | | } |
| | | // } |
| | | } else { |
| | | array.add(gson.toJson(vo)); |
| | | } |
| | |
| | | |
| | | JSONArray array = new JSONArray(); |
| | | for (GoodsDetailVO vo : finalVOList) { |
| | | if (acceptData.getSystem() == SystemEnum.yhqjx) { |
| | | if (acceptData.getSystem() == SystemEnum.yhqjx||acceptData.getSystem() == SystemEnum.hsb) { |
| | | if (!StringUtil.isNullOrEmpty(vo.getMoneyInfo().getHongBaoMoney())) { |
| | | array.add(gson.toJson(vo)); |
| | | } |