IUserRoleManage.cs 719 B

123456789101112131415161718192021222324
  1. using Central.Control.Domain;
  2. using System;
  3. using System.Collections.Generic;
  4. using System.Linq;
  5. using System.Text;
  6. namespace MES.Production.Service.IService
  7. {
  8. /// <summary>
  9. /// Service层用户与角色关系接口
  10. /// add 作者: 季健国 QQ:181589805 by 2016-05-22
  11. /// </summary>
  12. public interface IUserRoleManage : IRepository<SYS_USER_ROLE>
  13. {
  14. /// <summary>
  15. /// 设置用户角色
  16. /// add 作者: 季健国 QQ:181589805 by 2016-06-10
  17. /// </summary>
  18. /// <param name="userId">用户ID</param>
  19. /// <param name="roleId">角色ID字符串</param>
  20. /// <returns></returns>
  21. bool SetUserRole(int userId, string roleId);
  22. }
  23. }