浏览代码

修正获取角色

icole 4 年之前
父节点
当前提交
c6c5aad8a1
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      internal/logic/get_erp_role_logic.go

+ 1 - 1
internal/logic/get_erp_role_logic.go

@@ -31,7 +31,7 @@ func (l *GetErpRoleLogic) GetErpRole(in *transform.GetErpRoleReq) (*transform.Ge
 		return nil, errors.New("mobile and user_id is empty")
 	}
 	sql := `select  
-			sys_user.id user_id,GROUP_CONCAT(sys_role.code)  role,sys_user_school.os_id sch_id
+			sys_user.id user_id,GROUP_CONCAT(sys_role.code)  role,sys_user_school.os_id sch_id,sys_user.mobile
           from 
 			sys_user  
 		  LEFT JOIN