zwxi преди 10 месеца
родител
ревизия
3105bc773d
променени са 1 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 2
      services/statistic_report/company.go

+ 2 - 2
services/statistic_report/company.go

@@ -108,9 +108,9 @@ func CompanyList(sysUser *system.Admin, req statisticModels.IncrementalCompanyLi
 				sortStr = " ORDER BY sort_todo_end_time asc, b.view_total desc, a.created_time desc"
 				sortStr = " ORDER BY sort_todo_end_time asc, b.view_total desc, a.created_time desc"
 			}
 			}
 		} else if sortParam == "sellerName" {
 		} else if sortParam == "sellerName" {
-			sortStr = " ORDER BY b.seller_name "
+			sortStr = " ORDER BY CONVERT( b.seller_name USING gbk ) COLLATE gbk_chinese_ci "
 		} else if sortParam == "shareSellerName" {
 		} else if sortParam == "shareSellerName" {
-			sortStr = " ORDER BY b.share_seller "
+			sortStr = " ORDER BY CONVERT( b.share_seller USING gbk ) COLLATE gbk_chinese_ci "
 		} else if sortParam == "status" {
 		} else if sortParam == "status" {
 			sortStr = " ORDER BY b.status "
 			sortStr = " ORDER BY b.status "
 		}  else if sortParam == "serviceYears" {
 		}  else if sortParam == "serviceYears" {