Sfoglia il codice sorgente

销售信息展示异常问题

yjwang 1 settimana fa
parent
commit
8a32990f4d

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

@@ -261,6 +261,9 @@ public interface FsCourseWatchLogMapper extends BaseMapper<FsCourseWatchLog> {
             "where o.company_id=#{companyId} " +
             "<if test= 'sendType != null '> " +
             "       and  send_type= #{sendType} " +
+            "<if test= 'sendType == 2 '>" +
+            "       and  o.qw_user_id IS NOT NULL" +
+            "</if>\n" +
             "</if>\n" +
             "<if test= 'sTime != null '> " +
             "       and DATE(o.create_time) &gt;= DATE(#{sTime})\n" +

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

@@ -81,6 +81,9 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             </if>
             <if test ='maps.sendType !=null'>
                 and l.send_type = #{maps.sendType}
+                <if test ='maps.sendType == 2'>
+                    and l.qw_user_id IS NOT NULL
+                </if>
             </if>
             <if test ='maps.userId !=null'>
                 and l.user_id = #{maps.userId}