|
@@ -1819,6 +1819,7 @@ func (this *UserController) ExportInteraction() {
|
|
|
br.ErrMsg = "获取用户阅读记录,Err:" + err.Error()
|
|
|
return
|
|
|
}
|
|
|
+ var articleIds []int
|
|
|
if len(list) > 0 {
|
|
|
for k, v := range list {
|
|
|
if v.ArticleId >= utils.SummaryArticleId {
|
|
@@ -1829,8 +1830,18 @@ func (this *UserController) ExportInteraction() {
|
|
|
if list[k].PermissionName == "" {
|
|
|
list[k].PermissionName = v.CategoryName
|
|
|
}
|
|
|
+ if v.SpecialType == 0 {
|
|
|
+ articleIds = append(articleIds, v.ArticleId)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ mapIndustrialLabel := cygxService.GetArticleIndustrialLabelByArticleId(articleIds) // 关联产业
|
|
|
+ mapSubjectLabel := cygxService.GetArticleSubjectLabelByArticleId(articleIds) // 关联标的
|
|
|
+ for _, v := range list {
|
|
|
+ v.IndustryName = strings.Join(mapIndustrialLabel[v.ArticleId], "/")
|
|
|
+ v.SubjectNames = strings.Join(mapSubjectLabel[v.ArticleId], "/")
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
} else if source == 2 {
|
|
|
sheetName = "到会管理名单"
|
|
|
if mobile != "" {
|