UserResponsibilityRightService.java 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. package com.kcim.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.kcim.dao.model.UserResponsibilityRight;
  4. import com.kcim.vo.UserResponsibilityRightVO;
  5. import java.util.List;
  6. /**
  7. * 用户责任中心权限
  8. * @author Administrator
  9. */
  10. public interface UserResponsibilityRightService extends IService<UserResponsibilityRight> {
  11. /**
  12. * 获取用户有权限的责任中心列表
  13. * @return
  14. */
  15. List<UserResponsibilityRight> getUserResponsibilityRight();
  16. /**
  17. * 获取用户的责任中心权限列表
  18. * @param responsibilityName
  19. * @param hideFlag
  20. * @return
  21. */
  22. List<UserResponsibilityRightVO> getUserResponsibilityRights(Long userId,String responsibilityName, Integer hideFlag);
  23. /**
  24. * 编辑用户损益报表权限
  25. * @param uerResponsibilityRightVO
  26. */
  27. void editUserResponsibilityRight(UserResponsibilityRightVO uerResponsibilityRightVO);
  28. /**
  29. * 修改指定用户的责任中心权限
  30. * @param userId
  31. * @param responsibilityCode
  32. * @param status
  33. */
  34. void editUserResponsibilityRight(Long userId,String responsibilityCode,Integer status);
  35. /**
  36. * 给用户添加所有损益报表权限
  37. * @param userId
  38. * @param allRightFlag
  39. */
  40. void editAllUserResponsibilityRight(Long userId,Integer allRightFlag);
  41. }