Explorar el Código

政策、新闻BUG修复

anderx hace 7 años
padre
commit
b9cb614406
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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}