Browse Source

Merge branch 'dev_v1.1.2_wh' of moapp/jyPoints into feature/v1.1.2

王浩 1 year ago
parent
commit
ed9b1a138c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      service/integralService.go

+ 2 - 1
service/integralService.go

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