Jelajahi Sumber

木易华康-销售后台看课记录看课类型未展示问题处理

Long 3 hari lalu
induk
melakukan
cf53faea98

+ 3 - 0
fs-service/src/main/java/com/fs/course/vo/FsCourseWatchLogListVO.java

@@ -141,4 +141,7 @@ public class FsCourseWatchLogListVO extends BaseEntity
     private Long imMsgSendDetailId;
 
     private Long deptId;
+
+    //看课方式:1 app  2 小程序
+    private Integer watchType;
 }

+ 1 - 1
fs-service/src/main/resources/mapper/course/FsCourseWatchLogMapper.xml

@@ -64,7 +64,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         l.log_type,SEC_TO_TIME(l.duration) as duration,c.company_name,l.camp_period_time,l.finish_time,
         cu.nick_name as company_user_name ,l.send_type,l.create_time,l.update_time,l.last_heartbeat_time,
         qu.qw_user_name,qec.name as external_user_name,c.company_id,u.avatar as fsAvatar,u.nick_name as fsNickName,qec.create_time as qec_create_time,
-        u.is_vip isVip,l.reward_type,cu.dept_id
+        u.is_vip isVip,l.reward_type,cu.dept_id, l.watch_type
          from fs_course_watch_log l
          left join fs_user_course_video v on v.video_id = l.video_id
          left join fs_user_course uc on uc.course_id = l.course_id