|
|
@@ -199,7 +199,7 @@ func QueryUserStaticDataPage(opts *UserBusinessAnalysisQueryOptions) ([]*UserBus |
|
|
|
} |
|
|
|
statictisSess.Limit(opts.PageSize, start) |
|
|
|
} |
|
|
|
statictisSess.OrderBy("count_date desc") |
|
|
|
statictisSess.OrderBy("count_date desc, commit_count desc") |
|
|
|
|
|
|
|
userBusinessAnalysisList := make([]*UserBusinessAnalysis, 0) |
|
|
|
if err := statictisSess.Table("user_business_analysis").Where(cond). |
|
|
|