|
@@ -321,9 +321,11 @@ func (this *CompanyController) CompanyShareList() {
|
|
|
sortStr += fmt.Sprintf(` %s`, sortType)
|
|
|
} else {
|
|
|
if roleTypeCode == utils.ROLE_TYPE_CODE_ADMIN {
|
|
|
- sortStr = " ORDER BY sort_status asc, all_view_total desc, a.created_time "
|
|
|
+ //sortStr = " ORDER BY sort_status asc, all_view_total desc, a.created_time "
|
|
|
+ sortStr = " ORDER BY start_date DESC, all_view_total desc, a.created_time "
|
|
|
} else {
|
|
|
- sortStr = " ORDER BY sort_status asc, b.view_total desc, a.created_time "
|
|
|
+ //sortStr = " ORDER BY sort_status asc, b.view_total desc, a.created_time "
|
|
|
+ sortStr = " ORDER BY start_date DESC, b.view_total desc, a.created_time "
|
|
|
}
|
|
|
sortStr += " DESC "
|
|
|
}
|