|
@@ -188,11 +188,11 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
|
|
|
b.nickname,
|
|
|
0 as unread,
|
|
|
b.headimg,
|
|
|
- "" as phone,
|
|
|
+ b.phone,
|
|
|
0 as userType
|
|
|
FROM
|
|
|
socialize_summary a
|
|
|
- INNER JOIN base_user b ON (a.user_id = b.id AND a.ent_id = %d AND a.customer_service_access = 0))
|
|
|
+ INNER JOIN base_user b ON (a.user_id = b.id AND a.ent_id = %d AND a.customer_service_access = 0)
|
|
|
%s %s %s)`, in.EntId, timeSql, phoneSql, filtrationSql)
|
|
|
|
|
|
serviceSql := fmt.Sprintf(`(SELECT
|
|
@@ -202,7 +202,7 @@ func (b MessaggeService) UserList(in *messagecenter.UserReq) (data *[]map[string
|
|
|
b.nickname,
|
|
|
a.unread,
|
|
|
b.headimg,
|
|
|
- "" as phone,
|
|
|
+ b.phone,
|
|
|
0 as userType
|
|
|
FROM
|
|
|
socialize_customer_service_user a
|