2021与蓝度共同重构项目,服务端
fix
zhanzhiqin
2022-05-27 bb36a9a264d971c0a1832e66d4feaf8f6b96dd58
ximon-admin/src/main/java/com/sandu/ximon/admin/controller/GetListOnBindingController.java
@@ -50,8 +50,8 @@
            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);
@@ -145,7 +145,13 @@
     */
    @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;
@@ -245,10 +251,6 @@
    @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;