瀏覽代碼

Merge remote-tracking branch 'origin/master' into debug

Roc 2 年之前
父節點
當前提交
932e7c63d1
共有 1 個文件被更改,包括 10 次插入11 次删除
  1. 10 11
      services/chart/chart_info.go

+ 10 - 11
services/chart/chart_info.go

@@ -8,7 +8,6 @@ import (
 	chartEdbMappingModel "hongze/hongze_yb/models/tables/chart_edb_mapping"
 	chartInfoModel "hongze/hongze_yb/models/tables/chart_info"
 	company2 "hongze/hongze_yb/models/tables/company"
-	edbDataModel "hongze/hongze_yb/models/tables/edb_data"
 	edbInfoModel "hongze/hongze_yb/models/tables/edb_info"
 	"hongze/hongze_yb/models/tables/my_chart_classify"
 	"hongze/hongze_yb/models/tables/yb_chart_daily_visit_log"
@@ -358,16 +357,16 @@ func RefreshChart(chartInfoId int) (err error) {
 			return err
 		}
 
-		maxAndMinItem, err := edbDataModel.GetEdbInfoMaxAndMinInfo(source, edbCode)
-		if err != nil {
-			return err
-		}
-		if maxAndMinItem != nil {
-			err = edbDataModel.ModifyEdbInfoMaxAndMinInfo(edbInfoId, maxAndMinItem)
-			if err != nil {
-				return err
-			}
-		}
+		//maxAndMinItem, err := edbDataModel.GetEdbInfoMaxAndMinInfo(source, edbCode)
+		//if err != nil {
+		//	return err
+		//}
+		//if maxAndMinItem != nil {
+		//	err = edbDataModel.ModifyEdbInfoMaxAndMinInfo(edbInfoId, maxAndMinItem)
+		//	if err != nil {
+		//		return err
+		//	}
+		//}
 	}
 
 	// 刷新计算指标