|
@@ -523,6 +523,10 @@ func (this *ReportController) DailyList() {
|
|
|
if v.ClassifyIdThird != 0 {
|
|
|
reportClassifyId = v.ClassifyIdThird
|
|
|
}
|
|
|
+ // 过滤没有绑定品种的研报
|
|
|
+ if classifyPermissionMap[reportClassifyId] == nil {
|
|
|
+ continue
|
|
|
+ }
|
|
|
reportList.List = append(reportList.List, &models.ReportView{
|
|
|
Id: v.ReportPdfId,
|
|
|
ClassifyIdFirst: v.ClassifyIdFirst,
|
|
@@ -630,6 +634,10 @@ func (this *ReportController) RecentList() {
|
|
|
if v.ClassifyIdThird != 0 {
|
|
|
reportClassifyId = v.ClassifyIdThird
|
|
|
}
|
|
|
+ // 过滤没有绑定品种的研报
|
|
|
+ if classifyPermissionMap[reportClassifyId] == nil {
|
|
|
+ continue
|
|
|
+ }
|
|
|
reportList.List = append(reportList.List, &models.ReportView{
|
|
|
Id: v.ReportPdfId,
|
|
|
ClassifyIdFirst: v.ClassifyIdFirst,
|