Эх сурвалжийг харах

fix: 睿思研报查询条件

hsun 2 сар өмнө
parent
commit
8fe964996b

+ 1 - 1
services/document_manage_service/document_manage_service.go

@@ -243,7 +243,7 @@ func RuiSiReportList(classifyIdFirst, classifyIdSecond, classifyIdThird int, cha
 	// 作者为 全球市场战略研究中心 PCI Research
 	//condition += ` and a.author = '战研中心 PCIR'`
 	// 已发布的报告
-	condition += ` and a.state = 2`
+	condition += ` AND a.state IN (2,6) AND a.is_public_publish = 1 `
 
 	if len(chartPermissionIdList) > 0 {
 		classifyIds, err := models.GetClassifyIdsByPermissionId(chartPermissionIdList)