Browse Source

no message

xingzai 1 year ago
parent
commit
5499885fa8
1 changed files with 2 additions and 1 deletions
  1. 2 1
      services/resource_data.go

+ 2 - 1
services/resource_data.go

@@ -433,8 +433,9 @@ func GetResourceDataList(condition string, pars []interface{}, startSize, pageSi
 			err = errors.New("GetYanxuanSpecialList, Err: " + e.Error())
 			return
 		}
-
+		pvMap := GetYanxuanSpecialRecordByYanxuanSpecialId(yanxuanSpecialIds)
 		for _, v := range listyanxuanSpecial {
+			v.Pv = pvMap[v.Id]
 			v.PublishTime = utils.TimeRemoveHms2(v.PublishTime)
 			v.Annotation, _ = GetReportContentTextSubNew(v.Content)
 			mapItems[fmt.Sprint(utils.CYGX_OBJ_YANXUANSPECIAL, v.Id)].YanxuanSpecial = v