ソースを参照

fix:课程统计(个微)

ct 1 週間 前
コミット
c5f6879be0

+ 2 - 2
fs-service-system/src/main/resources/mapper/store/FsUserMapper.xml

@@ -1757,7 +1757,7 @@
         fs_course_watch_log l
         LEFT JOIN company_user ON l.company_user_id = company_user.user_id
         where
-            l.log_type != 3
+            l.log_type != 3 and send_type = 1
             <if test="userId != null and userId != 0 ">
                 and (l.company_user_id = #{userId} OR company_user.parent_id = #{userId} )
             </if>
@@ -1781,7 +1781,7 @@
         fs_course_watch_log l
         LEFT JOIN company_user ON l.company_user_id = company_user.user_id
         where
-        l.log_type = 2
+        l.log_type = 2 and send_type = 1
         <if test="userId != null and userId != 0 ">
             and (l.company_user_id = #{userId} OR company_user.parent_id = #{userId} )
         </if>