Explorar o código

科技思想列表显示修复

Michael %!s(int64=8) %!d(string=hai) anos
pai
achega
ad310ef61c
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      src/main/java/com/goafanti/common/mapper/NewsMapperExt.xml

+ 3 - 0
src/main/java/com/goafanti/common/mapper/NewsMapperExt.xml

@@ -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>