فهرست منبع

使用人员排序

xuzhiheng 2 سال پیش
والد
کامیت
2690af411f
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      service/service.go

+ 1 - 1
service/service.go

@@ -92,7 +92,7 @@ func UsePersonList(this *entmanageapplication.UsePersonListReq) *entmanageapplic
 		LEFT JOIN entniche_department_user f on (a.ent_user_id=f.user_id) 
 		LEFT JOIN entniche_department g on (g.id=f.dept_id) 
 		where a.status = 1 and a.ent_id = ?
-		order by convert(c.name using gbk) COLLATE gbk_chinese_ci asc`, this.EntId)
+		order by a.update_time desc`, this.EntId)
 	arr := []*entmanageapplication.UsePersonList{}
 	if data != nil && len(*data) > 0 {
 		for _, v := range *data {