|
@@ -75,7 +75,8 @@ func UpdateActivityResourceData(sourceId int) {
|
|
|
return
|
|
|
}
|
|
|
var resourceDataId int
|
|
|
- publishDate := time.Now().Format(utils.FormatDateTime)
|
|
|
+ publishDate := detail.CreateTime // 活动创建时间作为排序时间
|
|
|
+
|
|
|
item := new(cygx.CygxResourceData)
|
|
|
|
|
|
var industrialName string
|
|
@@ -211,7 +212,7 @@ func UpdateActivitySpecialResourceData(sourceId int) {
|
|
|
return
|
|
|
}
|
|
|
var resourceDataId int
|
|
|
- publishDate := time.Now().Format(utils.FormatDateTime)
|
|
|
+ publishDate := activityInfo.PublishDate
|
|
|
item := new(cygx.CygxResourceData)
|
|
|
item.SourceId = sourceId
|
|
|
item.Source = source
|
|
@@ -496,7 +497,7 @@ func UpdateProductInteriorResourceData(sourceId int) {
|
|
|
}
|
|
|
mapMatchTypeName := GetCygxReportMappingCygxListMap() //报告匹配类型
|
|
|
var resourceDataId int
|
|
|
- publishDate := time.Now().Format(utils.FormatDateTime)
|
|
|
+ publishDate := detail.CreateTime
|
|
|
item := new(cygx.CygxResourceData)
|
|
|
|
|
|
var industrialName string
|