Browse Source

优化查询代码配置bug

pull/229/head
chenzhihang 8 months ago
parent
commit
870fbce684
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/CodeConfigServiceImpl.java

+ 1
- 1
ruoyi-modules/management-platform/src/main/java/com/ruoyi/platform/service/impl/CodeConfigServiceImpl.java View File

@@ -99,7 +99,7 @@ public class CodeConfigServiceImpl implements CodeConfigService {
}

HashMap<String, String> map = new HashMap<>();
map.put("code_path", codeConfig.getGitUrl());
map.put("id", String.valueOf(codeConfig.getId()));
List<Ray> rayList = rayDao.queryByCodeConfig(JSON.toJSONString(map));
if (rayList != null && !rayList.isEmpty()) {
String rays = String.join(",", rayList.stream().map(Ray::getName).collect(Collectors.toSet()));


Loading…
Cancel
Save