| | |
| | | } |
| | | model.addAttribute("halfNames",strings2); |
| | | model.addAttribute("halfName",halfName); |
| | | |
| | | // 添加价格配置相关字段 |
| | | TSite fullSite = siteService.getById(id); |
| | | model.addAttribute("targetAudience", fullSite.getTargetAudience()); |
| | | model.addAttribute("walkinCapacity", fullSite.getWalkinCapacity()); |
| | | |
| | | return PREFIX + "TSite_edit.html"; |
| | | } |
| | |
| | | public Store getTime(@PathVariable("oneId") String oneId) { |
| | | return storeClient.getTime(oneId); |
| | | } |
| | | |
| | | /** |
| | | * 根据场地ID获取价格配置 |
| | | */ |
| | | @ResponseBody |
| | | @GetMapping("/getSitePrices/{siteId}") |
| | | public ResultUtil getSitePrices(@PathVariable("siteId") Integer siteId) { |
| | | List<TSitePrice> prices = sitePriceService.list( |
| | | new QueryWrapper<TSitePrice>().eq("siteId", siteId) |
| | | ); |
| | | return ResultUtil.success(prices); |
| | | } |
| | | |
| | | /** |
| | | * 场地管理首页 选择省 返回市 |