|
@@ -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)
|