|
|
@@ -133,7 +133,10 @@ public class FsTagUpdateServiceImpl implements FsTagUpdateService {
|
|
|
task.setQwUserId(item.getQwUserId());
|
|
|
|
|
|
FsUserCourseVideo fsUserCourseVideo = courseVideoMap.get(task.getVideoId());
|
|
|
-
|
|
|
+ String corpId = qwUserCacheService.queryCorpIdByQwUserId(item.getQwUserId());
|
|
|
+ if(StringUtils.isNotNull(corpId)){
|
|
|
+ task.setCorpId(corpId);
|
|
|
+ }
|
|
|
if(ObjectUtils.isNull(fsUserCourseVideo)) {
|
|
|
String errorMsg = String.format("该条记录 %d 找不到对应的课堂视频", task.getVideoId());
|
|
|
log.error(errorMsg);
|
|
|
@@ -187,7 +190,10 @@ public class FsTagUpdateServiceImpl implements FsTagUpdateService {
|
|
|
task.setQwExternalContactId(item.getQwExternalContactId());
|
|
|
task.setQwUserId(item.getQwUserId());
|
|
|
task.setLogType(1);
|
|
|
-
|
|
|
+ String corpId = qwUserCacheService.queryCorpIdByQwUserId(item.getQwUserId());
|
|
|
+ if(StringUtils.isNotNull(corpId)){
|
|
|
+ task.setCorpId(corpId);
|
|
|
+ }
|
|
|
FsUserCourseVideo fsUserCourseVideo = courseVideoMap.get(task.getVideoId());
|
|
|
if(ObjectUtils.isNull(fsUserCourseVideo)) {
|
|
|
String errorMsg = String.format("该条记录 %d 找不到对应的课堂视频", task.getVideoId());
|