Browse Source

提交代码。

Signed-off-by: zouap <zouap@pcl.ac.cn>
pull/1036/head
zouap 3 years ago
parent
commit
190e275c8c
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      models/user_business_analysis.go

+ 1
- 1
models/user_business_analysis.go View File

@@ -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).


Loading…
Cancel
Save