| | |
| | | } |
| | | //套餐 |
| | | //切换到套餐查询条件 |
| | | queryUse.setTaocanId(null); |
| | | queryUse.setType(Dictionary.SHOPPING_GOODS_TYPE_TC); |
| | | List<SysProjUse> taoCanList = projUseService.findInPage(queryUse, null); |
| | | SysProjUse queryTaocan = new SysProjUse(); |
| | | queryTaocan.setType(Dictionary.SHOPPING_GOODS_TYPE_TC); |
| | | queryTaocan.setStatus(Dictionary.TAOCAN_STATUS_YX); |
| | | queryTaocan.setVipId(vipId); |
| | | List<SysProjUse> taoCanList = projUseService.findInPage(queryTaocan, null); |
| | | taoCanList.forEach(item->{ |
| | | item.setTaocanProjUse(projUseService.selectTaocanProjUse(item.getId(), queryUse.getStatus())); |
| | | item.setProjInfo(shoppingGoodsDao.selectById(item.getProjId())); |
| | |
| | | if (taoCanList.size() > 0) { |
| | | for (SysProjUse item : taoCanList) { |
| | | List<Object> temp = new ArrayList<>(); |
| | | temp.add("套餐"); |
| | | |
| | | if(Dictionary.FLAG_YES_Y.equals(item.getIsCourse())){ |
| | | temp.add("任选套餐"); |
| | | }else{ |
| | | temp.add("固定套餐"); |
| | | } |
| | | temp.add(item.getProjName()); |
| | | temp.add(item.getSource()); |
| | | temp.add("有效"); |