|
|
@@ -7,11 +7,10 @@ import (
|
|
|
"math"
|
|
|
"strconv"
|
|
|
|
|
|
- "github.com/gogf/gf/database/gdb"
|
|
|
- "github.com/gogf/gf/encoding/gjson"
|
|
|
-
|
|
|
"dashoo.cn/opms_libary/myerrors"
|
|
|
"github.com/360EntSecGroup-Skylar/excelize"
|
|
|
+ "github.com/gogf/gf/database/gdb"
|
|
|
+ "github.com/gogf/gf/encoding/gjson"
|
|
|
"github.com/gogf/gf/frame/g"
|
|
|
"github.com/gogf/gf/os/gtime"
|
|
|
"github.com/gogf/gf/util/gconv"
|
|
|
@@ -450,7 +449,7 @@ func (s *CustomerService) GetDynamicsList(req *model.CustomerDynameicsReq) (tota
|
|
|
}
|
|
|
dynamics := []*model.CustomerDynameicsRep{}
|
|
|
|
|
|
- err = s.DynamicsDao.Where("cust_id = ?", req.CustId).Order("created_time desc").Scan(&dynamics)
|
|
|
+ err = s.DynamicsDao.Where("cust_id = ", req.CustId).Order("created_time desc").Scan(&dynamics)
|
|
|
if err != nil {
|
|
|
g.Log().Error(err)
|
|
|
return
|