xyxie 10 月之前
父节点
当前提交
eba3943e8b
共有 1 个文件被更改,包括 0 次插入12 次删除
  1. 0 12
      controllers/chart_info.go

+ 0 - 12
controllers/chart_info.go

@@ -193,18 +193,6 @@ func (this *ChartInfoController) ChartInfoDetail() {
 	if len(warnEdbList) > 0 {
 		chartInfo.WarnMsg = `图表引用指标异常,异常指标:` + strings.Join(warnEdbList, ",")
 	}
-	if chartInfoId > 0 && chartInfo != nil {
-		if chartInfo.ChartType == 2 {
-			if chartInfo.SeasonStartDate != "" {
-				chartInfo.StartDate = chartInfo.SeasonStartDate
-				chartInfo.EndDate = chartInfo.SeasonEndDate
-				if chartInfo.DateType == 3 {
-					chartInfo.DateType = 5
-				}
-			}
-		}
-	}
-
 	// 图表的指标来源
 	sourceNameList, sourceNameEnList := services.GetEdbSourceByEdbInfoIdList(edbList)
 	chartInfo.ChartSource = strings.Join(sourceNameList, ",")