@@ -54,6 +54,7 @@ type ChartInfo struct {
Unit string `description:"中文单位名称"`
UnitEn string `description:"英文单位名称"`
IsJoinPermission int `description:"是否加入权限管控,0:不加入;1:加入;默认:0"`
+ Description string
}
type ChartInfoMore struct {
@@ -121,6 +121,7 @@ func AddChartInfo(req *models.AddChartReq, sysUserId int, sysUserRealName string
chartInfo.MarkersAreas = req.ChartInfo.MarkersAreas
chartInfo.Unit = req.ChartInfo.Unit
chartInfo.UnitEn = req.ChartInfo.UnitEn
+ chartInfo.Description = req.Description
newId, err := models.AddChartInfo(chartInfo)
if err != nil {
errMsg = `保存失败`