id,title,article_file_id,article_file_type,
article_type_id,introduce,cover_file_id,last_editor_date,publish_date,
is_top,top_value,auth_status,auth_password,editor_status,
separate_year,separate_month,separate_day,is_enable,update_date,create_date
a.id,
a.title,
a.article_file_type,
a.article_type_id,
a.introduce,
a.cover_file_id,
a.auth_status,
a.last_editor_date,
a.publish_date,
a.is_top,
a.editor_status,
a.is_allowed_comment,
a.jump_url as jumpURL,
a.update_date,
a.create_date,
a.video_ids,
a.picture_ids
a.is_enable=1
and a.editor_status=1
and a.publish_date < now()
AND a.article_type_id = #{param.typeId}
order by a.is_top desc,a.top_value asc , a.publish_date desc
and a.article_file_type not in
#{obj}
order by a.is_top desc,a.top_value asc , a.update_date desc
a.is_enable=1
and a.editor_status=1
and a.publish_date < now()
and a.id = #{param.id}
and a.article_file_type = #{param.fileType}
AND a.article_type_id in
#{obj}
order by a.is_top desc,a.top_value asc , a.publish_date desc