|
@@ -413,12 +413,12 @@ func (this *ActivityCoAntroller) Detail() {
|
|
|
}
|
|
|
|
|
|
// 查研观向7.4-行业新标签
|
|
|
- //industryNewMap, e := services.GetIndustryNewLabelMap(industryIds)
|
|
|
- //if e != nil {
|
|
|
- // br.Msg = "获取信息失败"
|
|
|
- // br.ErrMsg = "获取产业新标签失败, Err: " + e.Error()
|
|
|
- // return
|
|
|
- //}
|
|
|
+ industryNewMap, e := services.GetIndustryNewLabelMap(industryIds)
|
|
|
+ if e != nil {
|
|
|
+ br.Msg = "获取信息失败"
|
|
|
+ br.ErrMsg = "获取产业新标签失败, Err: " + e.Error()
|
|
|
+ return
|
|
|
+ }
|
|
|
|
|
|
//判断产业下是否有关联的报告,并处理是否跳转
|
|
|
industrialManagementId = strings.TrimRight(industrialManagementId, ",")
|
|
@@ -442,7 +442,10 @@ func (this *ActivityCoAntroller) Detail() {
|
|
|
if mapIndustrial[v.IndustrialManagementId] > 0 && !industrialList[k].IsResearch {
|
|
|
industrialList[k].IsJump = true
|
|
|
}
|
|
|
- //industrialList[k].IndustryNewLabel = industryNewMap[v.IndustrialManagementId]
|
|
|
+ //非买方研选下的才展示New标签
|
|
|
+ if activityInfo.ChartPermissionId != utils.CHART_PERMISSION_ID_YANXUAN {
|
|
|
+ industrialList[k].IndustryNewLabel = industryNewMap[v.IndustrialManagementId]
|
|
|
+ }
|
|
|
}
|
|
|
}
|
|
|
}
|