|
@@ -158,7 +158,9 @@ func GetResourceDataList(condition string, pars []interface{}, startSize, pageSi
|
|
|
err = errors.New("GetResourceDataList, Err: " + e.Error())
|
|
|
return
|
|
|
}
|
|
|
+ mapPv := GetCygxReportHistoryRecordListMap(minutessummaryIds, "szjyhz")
|
|
|
for _, v := range listresearchsummary {
|
|
|
+ v.Pv = mapPv[v.ArticleId]
|
|
|
v.PublishDate = utils.TimeRemoveHms2(v.PublishDate)
|
|
|
mapItems[fmt.Sprint("minutessummary", v.ArticleId)].Minutessummary = v
|
|
|
}
|
|
@@ -175,7 +177,9 @@ func GetResourceDataList(condition string, pars []interface{}, startSize, pageSi
|
|
|
err = errors.New("GetReportSelectionListHome, Err: " + e.Error())
|
|
|
return
|
|
|
}
|
|
|
+ mapPv := GetCygxReportHistoryRecordListMap(minutessummaryIds, "bzyjhz")
|
|
|
for _, v := range listresearchsummary {
|
|
|
+ v.Pv = mapPv[v.ArticleId]
|
|
|
v.PublishDate = utils.TimeRemoveHms2(v.PublishDate)
|
|
|
mapItems[fmt.Sprint("researchsummary", v.ArticleId)].Researchsummary = v
|
|
|
}
|
|
@@ -191,8 +195,10 @@ func GetResourceDataList(condition string, pars []interface{}, startSize, pageSi
|
|
|
err = errors.New("GetCygxProductInteriorList, Err: " + e.Error())
|
|
|
return
|
|
|
}
|
|
|
+ ProductInteriorHistoryMap := GetCygxProductInteriorHistoryListPvMap(articleIds)
|
|
|
for _, v := range listProductInterior {
|
|
|
v.Body = ProductInteriorHtml(v.Body)
|
|
|
+ v.Pv = ProductInteriorHistoryMap[v.ProductInteriorId]
|
|
|
v.PublishTime = utils.TimeRemoveHms2(v.PublishTime)
|
|
|
mapItems[fmt.Sprint("productinterior", v.ProductInteriorId)].ProductInterior = v
|
|
|
}
|
|
@@ -434,10 +440,12 @@ func GetResourceDataList(condition string, pars []interface{}, startSize, pageSi
|
|
|
err = errors.New("GetReportSelectionList, Err: " + e.Error())
|
|
|
return
|
|
|
}
|
|
|
+ mapPv := GetCygxReportHistoryRecordListMap(reportselectionIds, "bgjx")
|
|
|
for _, v := range listreportselection {
|
|
|
v.Title += "(第" + v.Periods + "期)"
|
|
|
v.MarketStrategy = AnnotationHtml(v.MarketStrategy)
|
|
|
v.PublishDate = utils.TimeRemoveHms2(v.PublishDate)
|
|
|
+ v.Pv = mapPv[v.ArticleId]
|
|
|
mapItems[fmt.Sprint("reportselection", v.ArticleId)].ReportSelection = v
|
|
|
}
|
|
|
}
|