|
@@ -296,12 +296,6 @@ func GetChartEdbData(chartInfoId, chartType int, calendar, startDate, endDate st
|
|
|
dataList, err = models.GetEdbDataList(v.Source, v.EdbInfoId, startDateReal, endDate)
|
|
|
case 1:
|
|
|
_, dataList, _, _, err, _ = GetPredictDataListByPredictEdbInfoId(v.EdbInfoId, startDateReal, endDate, false)
|
|
|
- //if item.MaxValue < newEdbInfo.MaxValue {
|
|
|
- // item.MaxData = newEdbInfo.MaxValue
|
|
|
- //}
|
|
|
- //if item.MinData > newEdbInfo.MinValue {
|
|
|
- // item.MinData = newEdbInfo.MinValue
|
|
|
- //}
|
|
|
default:
|
|
|
err = errors.New(fmt.Sprint("获取失败,指标类型异常", v.EdbInfoCategoryType))
|
|
|
}
|