Merge pull request #2879 from dataease/pr@dev@perf_export_view_log

perf(系统管理-日志管理): 导出视图日志增加所属仪表板信息
This commit is contained in:
fit2cloud-chenyw 2022-08-19 13:53:32 +08:00 committed by GitHub
commit ec4dfcd766
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -69,6 +69,9 @@ public class DeLogUtils {
if(sourcetype == SOURCE_TYPE.DRIVER_FILE){ if(sourcetype == SOURCE_TYPE.DRIVER_FILE){
List<FolderItem> parentsAndSelf = logManager.parentsAndSelf(positionId.toString(), SOURCE_TYPE.DRIVER); List<FolderItem> parentsAndSelf = logManager.parentsAndSelf(positionId.toString(), SOURCE_TYPE.DRIVER);
sysLogDTO.setPositions(parentsAndSelf); sysLogDTO.setPositions(parentsAndSelf);
}else if(sourcetype == SOURCE_TYPE.VIEW){
List<FolderItem> parentsAndSelf = logManager.parentsAndSelf(positionId.toString(), SOURCE_TYPE.PANEL);
sysLogDTO.setPositions(parentsAndSelf);
}else { }else {
List<FolderItem> parentsAndSelf = logManager.parentsAndSelf(positionId.toString(), sourcetype); List<FolderItem> parentsAndSelf = logManager.parentsAndSelf(positionId.toString(), sourcetype);
sysLogDTO.setPositions(parentsAndSelf); sysLogDTO.setPositions(parentsAndSelf);