|
|
@@ -7,6 +7,7 @@ import com.fs.common.core.page.TableDataInfo;
|
|
|
import com.fs.common.enums.BusinessType;
|
|
|
import com.fs.common.utils.ServletUtils;
|
|
|
import com.fs.common.utils.poi.ExcelUtil;
|
|
|
+import com.fs.config.saas.ProjectConfig;
|
|
|
import com.fs.system.service.ISysConfigService;
|
|
|
import com.fs.course.domain.FsCourseWatchLog;
|
|
|
import com.fs.course.param.*;
|
|
|
@@ -110,7 +111,9 @@ public class FsQwCourseWatchLogController extends BaseController
|
|
|
return getDataTable(new ArrayList<>());
|
|
|
}
|
|
|
//济南联志健康 数据排除转接用户
|
|
|
- if ("济南联志健康".equals(sysConfigService.getProjectConfig().getCloudHost().getCompanyName())) {
|
|
|
+ ProjectConfig projectConfig = sysConfigService.getProjectConfig();
|
|
|
+ String companyName = (projectConfig != null && projectConfig.getCloudHost() != null) ? projectConfig.getCloudHost().getCompanyName() : null;
|
|
|
+ if ("济南联志健康".equals(companyName)) {
|
|
|
return qwWatchLogService.selectQwWatchLogStatisticsListVOExcludeTransfer(param);
|
|
|
} else {
|
|
|
return qwWatchLogService.selectQwWatchLogStatisticsListVO(param);
|
|
|
@@ -126,7 +129,9 @@ public class FsQwCourseWatchLogController extends BaseController
|
|
|
return getDataTable(new ArrayList<>());
|
|
|
}
|
|
|
//济南联志健康 数据排除转接用户
|
|
|
- if ("济南联志健康".equals(sysConfigService.getProjectConfig().getCloudHost().getCompanyName())) {
|
|
|
+ ProjectConfig projectConfig2 = sysConfigService.getProjectConfig();
|
|
|
+ String companyName2 = (projectConfig2 != null && projectConfig2.getCloudHost() != null) ? projectConfig2.getCloudHost().getCompanyName() : null;
|
|
|
+ if ("济南联志健康".equals(companyName2)) {
|
|
|
return qwWatchLogService.selectQwWatchLogStatisticsListVOExcludeTransfer(param);
|
|
|
} else {
|
|
|
return qwWatchLogService.selectQwWatchLogStatisticsListVO(param);
|
|
|
@@ -227,7 +232,9 @@ public class FsQwCourseWatchLogController extends BaseController
|
|
|
param.setCompanyId( loginUser.getCompany().getCompanyId());
|
|
|
List<QwWatchLogStatisticsListVO> list = new ArrayList<>();
|
|
|
|
|
|
- if ("济南联志健康".equals(sysConfigService.getProjectConfig().getCloudHost().getCompanyName())) {
|
|
|
+ ProjectConfig projectConfig3 = sysConfigService.getProjectConfig();
|
|
|
+ String companyName3 = (projectConfig3 != null && projectConfig3.getCloudHost() != null) ? projectConfig3.getCloudHost().getCompanyName() : null;
|
|
|
+ if ("济南联志健康".equals(companyName3)) {
|
|
|
list = qwWatchLogService.selectQwWatchLogStatisticsListVOExportExcludeTransfer(param);
|
|
|
}else{
|
|
|
list = qwWatchLogService.selectQwWatchLogStatisticsListVOExport(param);
|