|
@@ -22,6 +22,8 @@ import com.fs.qw.param.QwWatchLogStatisticsListParam;
|
|
|
import com.fs.qw.service.IQwWatchLogService;
|
|
|
import com.fs.qw.vo.QwWatchLogAllStatisticsListVO;
|
|
|
import com.fs.qw.vo.QwWatchLogStatisticsListVO;
|
|
|
+import com.fs.store.domain.FsUser;
|
|
|
+import com.fs.store.service.cache.IFsUserCacheService;
|
|
|
import com.fs.store.service.cache.IFsUserCourseCacheService;
|
|
|
import com.github.pagehelper.PageInfo;
|
|
|
import com.hc.openapi.tool.util.StringUtils;
|
|
@@ -57,6 +59,8 @@ public class QwWatchLogServiceImpl extends ServiceImpl<QwWatchLogMapper, QwWatch
|
|
|
|
|
|
@Autowired
|
|
|
private ICompanyUserCacheService companyUserCacheService;
|
|
|
+ @Autowired
|
|
|
+ private IFsUserCacheService fsUserCacheService;
|
|
|
/**
|
|
|
* 查询企微看课
|
|
|
*
|
|
@@ -314,7 +318,13 @@ public class QwWatchLogServiceImpl extends ServiceImpl<QwWatchLogMapper, QwWatch
|
|
|
CompanyUser companyUser = companyUserCacheService.selectCompanyUserById(item.getCompanyUserId());
|
|
|
if(companyUser != null) {
|
|
|
item.setQwUserName(companyUser.getUserName());
|
|
|
- item.setCreateTime(companyUser.getCreateTime());
|
|
|
+ }
|
|
|
+ }
|
|
|
+ // 会员名称
|
|
|
+ if(ObjectUtils.isNotNull(item.getFsUserId())) {
|
|
|
+ FsUser fsUser = fsUserCacheService.selectFsUserById(item.getFsUserId());
|
|
|
+ if(fsUser != null) {
|
|
|
+ item.setFsUserName(String.format("%d_%s",fsUser.getUserId(),fsUser.getUsername()));
|
|
|
}
|
|
|
}
|
|
|
|