@@ -50,7 +50,6 @@
</select>
<select id="countChannelInfo" resultType="java.lang.Long">
select count(distinct info.id) from channel_info info
- where info.isvalid=1
<if test="userId !=null and userId !=''">
join user_channel_mapping ucm on ucm.channel_id = info.id and ucm.isvalid=1
</if>