|
@@ -288,6 +288,14 @@ public class DataGovernanceServiceImpl implements DataGovernanceService {
|
|
|
queryParam.put("page", String.valueOf(page));
|
|
|
queryParam.put("pageSize", String.valueOf(pageParam.getPageSize()));
|
|
|
queryParam.put("actionType", param.getActionType());
|
|
|
+ queryParam.put("connectionId", param.getConnectionId());
|
|
|
+
|
|
|
+ // 日志都只存在服务端,此处数据库只能用系统数据源
|
|
|
+ try {
|
|
|
+ this.connection = DriverManager.getConnection(url, username, password);
|
|
|
+ } catch (SQLException e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
Integer logCount = this.getData(Integer.class, this.getExecuteSql("getSysDataLogCount", queryParam));
|
|
|
result.setCount(logCount);
|
|
|
List<SysDataLog> logList = this.getDataList(SysDataLog.class, this.getExecuteSql("getSysDataLogList", queryParam));
|