295db376e9f2b880a2e6f6413341053da9937e72.svn-base 860 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. package cn.com.goldenwater.dcproj.service;
  2. import cn.com.goldenwater.core.service.CrudService;
  3. import cn.com.goldenwater.dcproj.model.UserRole;
  4. import cn.com.goldenwater.dcproj.param.UserRoleParam;
  5. import java.util.List;
  6. /**
  7. * @author lune
  8. * @date 2018-2-21
  9. */
  10. public interface UserRoleService extends CrudService<UserRole, UserRoleParam> {
  11. // ------------------------- 自定方法 -------------------------
  12. /**
  13. * 批量插入
  14. *
  15. * @param list
  16. * @return
  17. */
  18. public int addList(List<UserRoleParam> list);
  19. /**
  20. * 批量删除
  21. *
  22. * @param list
  23. * @return
  24. */
  25. public int deleteList(List<UserRoleParam> list);
  26. /**
  27. * 更新用户和角色的关联关系
  28. *
  29. * @param list
  30. * @param param
  31. */
  32. void updateUserRole(List<UserRoleParam> list, UserRoleParam param);
  33. }