|
@@ -69,14 +69,17 @@
|
|
|
and if(sni.offline_time_ is not null,sni.offline_time_ >= now(),1=1)
|
|
|
</if>
|
|
|
</if>
|
|
|
- <choose>
|
|
|
- <when test="platformType == 'WEBSITE'">
|
|
|
- and sni.platform_type_ = #{platformType}
|
|
|
- </when>
|
|
|
- <when test="platformType == 'STUDENT'">
|
|
|
- and sni.platform_type_ = #{platformType}
|
|
|
- </when>
|
|
|
- </choose>
|
|
|
+ <if test="type == 4">
|
|
|
+ <choose>
|
|
|
+ <when test="platformType == 'WEBSITE'">
|
|
|
+ and sni.platform_type_ = #{platformType}
|
|
|
+ </when>
|
|
|
+ <when test="platformType == 'STUDENT'">
|
|
|
+ and sni.platform_type_ = #{platformType}
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </if>
|
|
|
+
|
|
|
|
|
|
</if>
|
|
|
<if test="excludeIds!=null and excludeIds.size()>0">
|