|
@@ -688,12 +688,14 @@ type CygxActivityLabelList struct {
|
|
|
Resource int `description:"位置 ,1:活动 ,2:专项产业调研"`
|
|
|
TemporaryLabel string `description:"临时标签"`
|
|
|
IsNew bool `description:"是否为新:活动存在关联的的产业所关联的报告均在3个月内/无报告则标记新"`
|
|
|
+ YidongActivityId int `description:"易董活动ID"`
|
|
|
+ IsExternalLabel bool `description:"是否为外部资源"`
|
|
|
}
|
|
|
|
|
|
//主题列表
|
|
|
func GetActivityLabelListAll(condition, sortTime string, pars []interface{}, startSize, pageSize int) (items []*CygxActivityLabelList, err error) {
|
|
|
o := orm.NewOrm()
|
|
|
- sql := `SELECT activity_id, label,temporary_label,is_show_subject_name, MAX( art.activity_time ) AS timesort, MIn( art.activity_time ) AS mintimesort
|
|
|
+ sql := `SELECT activity_id, label,temporary_label,is_show_subject_name, MAX( art.activity_time ) AS timesort, MIn( art.activity_time ) AS mintimesort , yidong_activity_id
|
|
|
FROM cygx_activity as art WHERE 1= 1 `
|
|
|
if condition != "" {
|
|
|
sql += condition
|