@@ -108,6 +108,9 @@
count(1)
from news
where 1 =1
+ <if test="auditStatus != null">
+ and audit_status = #{auditStatus,jdbcType=INTEGER}
+ </if>
<if test="type != null">
and type = #{type,jdbcType=INTEGER}
</if>