Explorar el Código

Merge branch 'feature/eta1.7.7_eta_forum' into debug

xyxie hace 11 meses
padre
commit
0f8fc2c25f
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. 5 0
      services/eta_forum/eta_forum_hub.go

+ 5 - 0
services/eta_forum/eta_forum_hub.go

@@ -208,6 +208,11 @@ func UpdateChart(chartInfoId int) (err error, errMsg string) {
 	req.EdbInfoList = edbInfoList
 	req.EdbInfoDataList = edbInfoDataList
 	req.EdbInfoCalculateMapping = edbMappingList
+	// 查询创建者信息
+	creatorInfo, _ := system.GetSysAdminById(chartInfo.SysUserId)
+	if creatorInfo != nil {
+		req.CreatorInfo = creatorInfo
+	}
 
 	// 添加计算指标
 	reqJson, err := json.Marshal(req)