|
@@ -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
|
|
|
+ // }
|
|
|
+ //}
|
|
|
}
|
|
|
|
|
|
// 刷新计算指标
|