|
@@ -73,16 +73,16 @@ func GetClassListByClassifyId(user user.UserInfo, classifyIdFirst int) (list []*
|
|
|
temp.ReportAuthor = item.ReportAuthor
|
|
|
temp.HomeImgUrl = item.HomeImgUrl
|
|
|
temp.ClassifyNameSecond = item.ClassifyName
|
|
|
- if _, ok := reportMap[item.Id]; ok {
|
|
|
- temp.Stage = reportMap[item.Id].Stage
|
|
|
- }
|
|
|
if classifyInfo.ClassifyName == "权益研报" {
|
|
|
temp.ProductName = "权益"
|
|
|
} else {
|
|
|
temp.ProductName = "FICC"
|
|
|
}
|
|
|
-
|
|
|
- list = append(list, temp)
|
|
|
+ // 专栏下无报告则不展示
|
|
|
+ if _, ok := reportMap[item.Id]; ok {
|
|
|
+ list = append(list, temp)
|
|
|
+ temp.Stage = reportMap[item.Id].Stage
|
|
|
+ }
|
|
|
}
|
|
|
return
|
|
|
}
|