選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
 
 
 
 
 

55 行
912 B

  1. package com.simple.service;
  2. import com.github.pagehelper.PageInfo;
  3. import com.simple.domain.po.MallUserRole;
  4. import java.util.List;
  5. public interface MallUserRoleService {
  6. /**
  7. * 根据实体查询分页列表
  8. *
  9. * @param record
  10. * @param offset
  11. * @param limit
  12. * @return
  13. */
  14. PageInfo<MallUserRole> listAsPage(MallUserRole record, Integer pageIndex, Integer pageSize);
  15. /**
  16. * 根据Id获得实体
  17. *
  18. * @param id
  19. * @return
  20. */
  21. MallUserRole getById(Long id);
  22. /**
  23. * 保存或更新实体
  24. *
  25. * @param record
  26. */
  27. void saveOrUpdate(MallUserRole record);
  28. /**
  29. * 根据Id删除实体
  30. *
  31. * @param id
  32. */
  33. void deleteById(Long id);
  34. /**
  35. * 批量增加用户对应角色
  36. * @param u2rs
  37. */
  38. void batchInsert(List<MallUserRole> u2rs);
  39. void deleteByUserId(Long uid);
  40. }