|
@@ -358,7 +358,8 @@ func (service *IntegralService) IntegralDetailedCheck(data entity.FlowJSON) ([]*
|
|
Join("left", "point_type pt", "flow.pointType=pt.code").
|
|
Join("left", "point_type pt", "flow.pointType=pt.code").
|
|
Where("flow.userId = ? AND flow.appId = ?", data.UserId, data.AppId).
|
|
Where("flow.userId = ? AND flow.appId = ?", data.UserId, data.AppId).
|
|
And(searchCode).
|
|
And(searchCode).
|
|
- Desc("flow.createTime,flow.id").
|
|
|
|
|
|
+ Desc("flow.createTime").
|
|
|
|
+ Asc("flow.id").
|
|
Limit(int(data.PageSize), (int(data.Page-1))*int(data.PageSize)).
|
|
Limit(int(data.PageSize), (int(data.Page-1))*int(data.PageSize)).
|
|
FindAndCount(&flowList)
|
|
FindAndCount(&flowList)
|
|
var flowReq []*integral.Point
|
|
var flowReq []*integral.Point
|