| | |
| | | } |
| | | } |
| | | |
| | | @ResponseBody |
| | | @PostMapping("/store/querySiteIdById") |
| | | public List<Integer> querySiteIdById(@RequestBody List<Integer> storeIds){ |
| | | List<Site> list = siteService.list(new LambdaQueryWrapper<Site>().in(Site::getStoreId, storeIds)); |
| | | List<Integer> collect = list.stream().map(Site::getId).collect(Collectors.toList()); |
| | | return collect; |
| | | } |
| | | |
| | | |
| | | |
| | | @ResponseBody |
| | |
| | | } |
| | | |
| | | |
| | | @Autowired |
| | | private ISiteService siteService; |
| | | @ResponseBody |
| | | @PostMapping("/store/querySiteId") |
| | | public List<Integer> querySiteId(@RequestBody Integer storeId){ |
| | | List<Site> list = siteService.list(new LambdaQueryWrapper<Site>().eq(Site::getStoreId, storeId).eq(Site::getSign, 1)); |
| | | List<Integer> collect = list.stream().map(Site::getId).collect(Collectors.toList()); |
| | | return collect; |
| | | } |
| | | |
| | | |
| | | @PostMapping("/store/addBackRecord") |
| | | public void addBackRecord(@RequestBody String s){ |
| | | TBackRecord tBackRecord = new TBackRecord(); |