Browse Source

no message

xingzai 5 months ago
parent
commit
448455369c
1 changed files with 3 additions and 4 deletions
  1. 3 4
      models/system/sys_admin.go

+ 3 - 4
models/system/sys_admin.go

@@ -470,11 +470,10 @@ func GetSysuserRaiList() (items []*AdminItem, err error) {
 		FROM
 			admin 
 		WHERE
-			role_type_code LIKE '%rai%' 
-			AND group_id NOT IN ( 19, 10, 17 ) 
+			role_type_code IN ('rai_group','rai_seller')
+			AND group_id NOT IN ( 19, 10, 17 )
 			AND enabled = 1 
-			OR real_name IN ( '沈涛', '张传星' )  
-			OR mobile IN ( '15011263967', '18935318900' , '15600639653', '18010097689', '13520990566') ` // 先写死,看情况要不要改
+			OR real_name IN ( '沈涛', '张传星' ) ` // 先写死,看情况要不要改
 	_, err = o.Raw(sql).QueryRows(&items)
 	return
 }