فهرست منبع

fix:课程统计(个微)

ct 1 روز پیش
والد
کامیت
ab7ca1bc83
1فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 2 2
      fs-service/src/main/resources/mapper/his/FsUserMapper.xml

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

@@ -1367,7 +1367,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         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>
@@ -1391,7 +1391,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
         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>