| | |
| | | if (indicationList != null && indicationList.size() > 0) { |
| | | for (Indication indication : indicationList) { |
| | | mjIndicationDetailVo = detailVoMap.get(indication.getName()); |
| | | if (mjIndicationDetailVo != null) { |
| | | mjIndicationDetailVo.setDetailMsg(indication.getDescription()); |
| | | mjIndicationDetailVo.setImgUrl(indication.getImgUrl()); |
| | | if (mjIndicationDetailVo == null) { |
| | | continue; |
| | | } |
| | | mjIndicationDetailVo.setDetailMsg(indication.getDescription()); |
| | | mjIndicationDetailVo.setImgUrl(indication.getImgUrl()); |
| | | detailVoMap.put(indication.getName(), mjIndicationDetailVo); |
| | | } |
| | | } |
| | |
| | | if (microPlanItemList != null && microPlanItemList.size() > 0) { |
| | | for (MicroPlanItem microPlanItem : microPlanItemList) { |
| | | mjIndicationDetailVo = detailVoMap.get(microPlanItem.getCommonName()); |
| | | if (mjIndicationDetailVo != null) { |
| | | List<String> goodsIdList = mjIndicationDetailVo.getGoodsIdList(); |
| | | if (goodsIdList == null) { |
| | | goodsIdList = new ArrayList<>(); |
| | | } |
| | | goodsIdList.add(microPlanItem.getCommonId()); |
| | | mjIndicationDetailVo.setGoodsIdList(goodsIdList); |
| | | if (mjIndicationDetailVo == null){ |
| | | continue; |
| | | } |
| | | List<String> goodsIdList = mjIndicationDetailVo.getGoodsIdList(); |
| | | if (goodsIdList == null) { |
| | | goodsIdList = new ArrayList<>(); |
| | | } |
| | | goodsIdList.add(microPlanItem.getCommonId()); |
| | | mjIndicationDetailVo.setGoodsIdList(goodsIdList); |
| | | detailVoMap.put(microPlanItem.getCommonName(), mjIndicationDetailVo); |
| | | } |
| | | } |