update
This commit is contained in:
@@ -38,4 +38,6 @@ public interface ProjectService {
|
||||
List<MonitorOperationLog> getLogList(OperationLogVo operationLogVo);
|
||||
|
||||
Connection create(MonitorDataSource dataSource, List<Map<String, Object>> properties);
|
||||
|
||||
void addDataSource(MonitorDataSource monitorDataSource);
|
||||
}
|
||||
|
||||
@@ -388,4 +388,8 @@ public class ProjectServiceImpl implements ProjectService {
|
||||
}
|
||||
return connection;
|
||||
}
|
||||
|
||||
public void addDataSource(MonitorDataSource monitorDataSource){
|
||||
databaseMapper.addDatabaseSource(monitorDataSource);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user