瀏覽代碼

政策、新闻BUG修复

anderx 7 年之前
父節點
當前提交
b9cb614406
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/goafanti/common/mapper/NewsMapper.xml

+ 1 - 1
src/main/java/com/goafanti/common/mapper/NewsMapper.xml

@@ -364,7 +364,7 @@
 			a.title_img as titleImg
 		from news a
 		left join district_glossory d on a.province_id=d.id
-		where a.type =0
+		where a.type =0 and audit_status=2
 		order by a.release_date desc
 		<if test="page_sql != null">
 			${page_sql}