<select id="findArticleListByLast5days" resultMap="resultMap">标签:aa,dayParam,aac,ap,计算,article,数据,id From: https://www.cnblogs.com/ZhangZiXue/p/17500168.html
SELECT
aa.*
FROM
`ap_article` aa
LEFT JOIN ap_article_config aac ON aa.id = aac.article_id
<where>
and aac.is_delete != 1
and aac.is_down != 1
<if test="dayParam != null">
and aa.publish_time <![CDATA[>=]]> #{dayParam}
</if>
</where>
</select>