管道基础大数据平台系统开发-【后端】-Server
1
13693261870
2023-02-20 0f58d77f1df46e82dad00b23f245abdcd6cb8a2c
src/main/java/com/lf/server/controller/show/PipelineController.java
@@ -114,16 +114,19 @@
            if (!DownloadService.decryptPwd(pe)) {
                return fail("密码解密失败", null);
            }
            if (!StringHelper.checkPwdValid(pe.getPwd())) {
            if (StringHelper.isPwdInvalid(pe.getPwd())) {
                return fail("密码不符合要求");
            }
            Map<String, List<?>> map = new HashMap<>(4);
            Map<String, List<PipelineEntity>> map = new HashMap<>(4);
            for (String tab : pe.getTabs()) {
                List<?> rs = pipelineService.selectPipeAnalysis(tab, pe.getGid());
                List<PipelineEntity> rs = pipelineService.selectPipeAnalysis(tab, pe.getGid());
                if (null != rs && rs.size() > 0) {
                    map.put(tab, rs);
                }
            }
            if (map.size() == 0) {
                return fail("查无数据");
            }
            UserEntity ue = tokenService.getCurrentUser(req);
@@ -158,7 +161,7 @@
            if (count == 0) {
                return success(0, null);
            }
            List<DownloadEntity> rs = downloadService.selectByPageForUser(ue.getCreateUser(), 3, name, pageSize, pageSize * (pageIndex - 1));
            List<DownloadEntity> rs = downloadService.selectByPageForUser(ue.getCreateUser(), 5, name, pageSize, pageSize * (pageIndex - 1));
            return success(count, rs);
        } catch (Exception ex) {