|
@@ -4,7 +4,6 @@ import (
|
|
|
"errors"
|
|
|
"eta/eta_api/models/mgo"
|
|
|
"eta/eta_api/utils"
|
|
|
- "eta/eta_api/utils/mgodb"
|
|
|
"fmt"
|
|
|
"github.com/beego/beego/v2/client/orm"
|
|
|
"github.com/rdlucklib/rdluck_tools/paging"
|
|
@@ -461,7 +460,7 @@ func getEdbDataListByMongo(source, subSource, edbInfoId int, startDate, endDate
|
|
|
}
|
|
|
|
|
|
// 数据日期
|
|
|
- dateCondition, err := mgodb.BuildDateCondition(startDate, endDate)
|
|
|
+ dateCondition, err := mgo.BuildDateCondition(startDate, endDate)
|
|
|
if err != nil {
|
|
|
return
|
|
|
}
|
|
@@ -584,7 +583,7 @@ func getEdbDataListMinAndMaxByMongo(source, subSource, edbInfoId int, startDate,
|
|
|
"edb_info_id": edbInfoId,
|
|
|
}
|
|
|
// 日期
|
|
|
- dateCondition, err := mgodb.BuildDateCondition(startDate, endDate)
|
|
|
+ dateCondition, err := mgo.BuildDateCondition(startDate, endDate)
|
|
|
if err != nil {
|
|
|
return
|
|
|
}
|