|
@@ -394,6 +394,20 @@ func GetMicroRoadShowPageListV12(pageSize, currentIndex, sourceId, tableType int
|
|
|
err = errors.New("获取微路演音视频列表失败, Err: " + e.Error())
|
|
|
return
|
|
|
}
|
|
|
+ var activiiTyIds []int
|
|
|
+ for _, v := range videoList {
|
|
|
+ v.LabelType = v.Type
|
|
|
+ if v.Type == 1 || v.Type == 2 {
|
|
|
+ v.LabelType = 2 // 先将路演回放设置为调研反馈类型,再做处理
|
|
|
+ activiiTyIds = append(activiiTyIds, v.SourceId)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ mapactiviiTyIds := GetActivityLYHFMapByActivityIds(activiiTyIds)
|
|
|
+ for _, v := range videoList {
|
|
|
+ if v.Type == 1 && mapactiviiTyIds[v.SourceId] {
|
|
|
+ v.LabelType = 1 // 处理路演回放
|
|
|
+ }
|
|
|
+ }
|
|
|
respList = videoList
|
|
|
return
|
|
|
}
|
|
@@ -816,6 +830,21 @@ func GetMicroRoadShowMycollectV12(pageSize, currentIndex int, audioIds, activity
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ var activiiTyIds []int
|
|
|
+ for _, v := range videoList {
|
|
|
+ v.LabelType = v.Type
|
|
|
+ if v.Type == 1 || v.Type == 2 {
|
|
|
+ v.LabelType = 2 // 先将路演回放设置为调研反馈类型,再做处理
|
|
|
+ activiiTyIds = append(activiiTyIds, v.SourceId)
|
|
|
+ }
|
|
|
+ }
|
|
|
+ mapactiviiTyIds := GetActivityLYHFMapByActivityIds(activiiTyIds)
|
|
|
+ for _, v := range videoList {
|
|
|
+ if v.Type == 1 && mapactiviiTyIds[v.SourceId] {
|
|
|
+ v.LabelType = 1 // 处理路演回放
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
respList = videoList
|
|
|
return
|
|
|
}
|