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