Browse Source

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

lvxianyun 3 years ago
parent
commit
5f2f73fd47

+ 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()));
                     }
                 }
             }