Просмотр исходного кода

企微看课统计新增筛选企微昵称查询

wjj 4 недель назад
Родитель
Сommit
f3f3dd158b

+ 3 - 0
fs-service/src/main/java/com/fs/course/mapper/FsCourseWatchLogMapper.java

@@ -267,6 +267,9 @@ public interface FsCourseWatchLogMapper extends BaseMapper<FsCourseWatchLog> {
             "<if test ='sendType != 1 and nickName !=null and nickName!=\"\"'>\n" +
             "   and qu.qw_user_name like concat( #{nickName}, '%')\n" +
             "</if>" +
+            "<if test ='sendType != 1 and qwUserId !=null '>\n" +
+            "   and qu.id = #{qwUserId} \n" +
+            "</if>" +
             "<if test ='sendType == 1 and nickName !=null and nickName!=\"\"'>\n" +
             "   and cu.nick_name like concat( #{nickName}, '%')\n" +
             "</if>" +

+ 2 - 0
fs-service/src/main/java/com/fs/course/param/FsCourseWatchLogStatisticsListParam.java

@@ -42,4 +42,6 @@ public class FsCourseWatchLogStatisticsListParam {
     private Long pageSize;
 
     private Integer sendType; //归属发送方式:1 个微  2 企微
+
+    private Long qwUserId;
 }