| | |
| | | wrapper.eq(Client::getSuperiorId, SecurityUtils.getUserId()); |
| | | } |
| | | if (!StringUtil.isEmpty(keyword)) { |
| | | wrapper.eq(Client::getId, keyword).or(w -> { |
| | | w.eq(Client::getClientName, keyword); |
| | | wrapper.like(Client::getId, keyword).or(w -> { |
| | | w.like(Client::getClientName, keyword); |
| | | }); |
| | | } |
| | | List<Client> list = SpringContextHolder.getBean(ClientService.class).list(wrapper); |
| | |
| | | */ |
| | | @GetMapping("/getLedFilesList") |
| | | public ResponseVO<Object> getLedFilesList() { |
| | | List<LedSFile> list = SpringContextHolder.getBean(LedSFileService.class).list(); |
| | | LambdaQueryWrapper<LedSFile> wrapper = Wrappers.lambdaQuery(LedSFile.class); |
| | | if (SecurityUtils.getClientId() != null) { |
| | | wrapper.eq(LedSFile::getCilentId, SecurityUtils.getUserId()).or(w -> { |
| | | w.eq(LedSFile::getUserId, SecurityUtils.getUserId()); |
| | | }); |
| | | } |
| | | List<LedSFile> list = SpringContextHolder.getBean(LedSFileService.class).list(wrapper); |
| | | |
| | | List<Map> mapList = new ArrayList<>(); |
| | | Map map; |
| | |
| | | |
| | | @GetMapping("/getIpVolumeList") |
| | | public ResponseVO<Object> getIpVolumeList(@RequestParam(required = false, value = "keyword") String keyword) { |
| | | BroadcastTerminalV2Param param = new BroadcastTerminalV2Param(); |
| | | param.setBindingState(2); |
| | | param.setKeyword(null); |
| | | param.setWorkState(2); |
| | | List<BroadcastTerminalV2EntityBo> broadcastTerminalList = ipVolumeService.newIpTerminalList(keyword); |
| | | List<Map> mapList = new ArrayList<>(); |
| | | Map map; |