Browse Source

Merge branch 'dev/v1.2.6.1_dx' of SocialPlatform/messageCenter into hotfix/v1.2.6.1

duxin 2 năm trước cách đây
mục cha
commit
be470ab994
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      service/chat_group.go

+ 1 - 1
service/chat_group.go

@@ -43,7 +43,7 @@ func EntPerson(entId int64, isAll bool) (map[string]string, map[string]string, m
 		}
 
 		//查询企业人员职位
-		positionList := IC.BaseMysql.SelectBySql(fmt.Sprintf(`SELECT b.phone,b.id FROM base_position a
+		positionList := IC.BaseMysql.SelectBySql(fmt.Sprintf(`SELECT b.phone,a.id FROM base_position a
 							INNER JOIN base_user b ON a.ent_id = %d
 							AND a.user_id = b.id`, entId))
 		if positionList != nil && len(*positionList) > 0 {