Kaynağa Gözat

1.3.3采美百科与词条详情功能优化

JiangChongBo 2 yıl önce
ebeveyn
işleme
0371e650e4
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      src/main/resources/mapper/BaikeMapper.xml

+ 1 - 1
src/main/resources/mapper/BaikeMapper.xml

@@ -115,7 +115,7 @@
 		left join cm_baike_type t on p.typeId=t.id
 		where
 		  p.typeId =#{typeId}
-		  and auditStatus=2 and onlineStatus=2 and status=1
+		  and p.auditStatus=2 and p.onlineStatus=2 and p.status=1
 		order by p.publishTime desc
 	</select>