shuzhan %!s(int64=2) %!d(string=hai) anos
pai
achega
f43bb135f0
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      common/src/main/resources/mapper/base/NewsInfo.xml

+ 3 - 0
common/src/main/resources/mapper/base/NewsInfo.xml

@@ -106,6 +106,9 @@
 			<if test="searchParams.category != null">
 				and category_ = #{searchParams.category}
 			</if>
+			<if test="searchParams.status != null">
+				and status_ = #{searchParams.status}
+			</if>
 		</where>
 		<foreach item="sort" collection="sortList"  open="order by" separator=",">
 	        ${sort.name} ${sort.order}