|
@@ -1831,6 +1831,14 @@ public class AiHookServiceImpl implements AiHookService {
|
|
|
if(role.getUserInfo() != null){
|
|
if(role.getUserInfo() != null){
|
|
|
for (String name : split) {
|
|
for (String name : split) {
|
|
|
if (name != null) {
|
|
if (name != null) {
|
|
|
|
|
+ //课程章节 看课状态
|
|
|
|
|
+ if(name.equals("课程章节")){
|
|
|
|
|
+ FsCourseWatchLogVO log = fsCourseWatchLogMapper.selectFsCourseWatchLogByExtId(fastGptChatSession.getQwExtId());
|
|
|
|
|
+ String courseTitleName = log.getCourseName() + log.getTitle();
|
|
|
|
|
+ courseTitleName = courseTitleName.replaceAll("[【】]", "");
|
|
|
|
|
+ userInfo.put("课程章节",courseTitleName);
|
|
|
|
|
+ userInfo.put("课程状态",log.getLogType()==3?"待看课":log.getLogType()==1?"已完课":log.getLogType()==2?"已完课":"看课中断");
|
|
|
|
|
+ }
|
|
|
Object value = map.get(name);
|
|
Object value = map.get(name);
|
|
|
if(value != null){
|
|
if(value != null){
|
|
|
userInfo.put(name,value);
|
|
userInfo.put(name,value);
|