| | |
| | | @PostMapping("/worldCup/getWorldCupStoreListByStoreId") |
| | | public List<WorldCupStoreVO> getWorldCupStoreListByStoreId(@RequestBody Integer storeId){ |
| | | List<WorldCupStoreVO> res = new ArrayList<>(); |
| | | |
| | | List<WorldCupStore> storeId1 = worldCupStoreService.list(new QueryWrapper<WorldCupStore>().eq("storeId", storeId)); |
| | | List<WorldCupStore> storeId1 = worldCupStoreService.list( |
| | | new QueryWrapper<WorldCupStore>() |
| | | .eq("storeId", storeId)); |
| | | for (WorldCupStore worldCupStore : storeId1) { |
| | | WorldCupStoreVO worldCupStoreVO = new WorldCupStoreVO(); |
| | | BeanUtils.copyProperties(worldCupStore,worldCupStoreVO); |
| | | // 查询世界杯活动名称 |
| | | WorldCup byId = worldCupService.getById(worldCupStore.getWorldCupId()); |
| | | if (byId.getStatus()==3 || byId.getStatus()==4){ |
| | | continue; |
| | | } |
| | | worldCupStoreVO.setName(byId.getName()); |
| | | res.add(worldCupStoreVO); |
| | | } |