瀏覽代碼

竖井类型获取,参数调整,格式化返回值

lvxianyun 3 年之前
父節點
當前提交
5f2f73fd47
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/persagy/proxy/adm/controller/AdmShaftController.java

+ 1 - 1
src/main/java/com/persagy/proxy/adm/controller/AdmShaftController.java

@@ -266,7 +266,7 @@ public class AdmShaftController {
                         }
                     });
                     if(CollUtil.isNotEmpty(datasourceMapUsed)){
-                        admResponse = AdmResponse.success(Arrays.asList(datasourceMapUsed.values()));
+                        admResponse = AdmResponse.success(datasourceMapUsed.values().stream().collect(Collectors.toList()));
                     }
                 }
             }