SystemMenuService.java 858 B

12345678910111213141516171819202122232425262728293031323334
  1. package com.template.services;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.template.model.pojo.SystemMenu;
  4. import com.template.model.result.CommonResult;
  5. import com.template.model.vo.SystemMenuVo;
  6. import java.util.List;
  7. /**
  8. * <p>
  9. * 服务类
  10. * </p>
  11. *
  12. * @author ceshi
  13. * @since 2023-03-30
  14. */
  15. public interface SystemMenuService extends IService<SystemMenu> {
  16. CommonResult<List<SystemMenu>> getSystemMenus();
  17. CommonResult insertSystemMenus(SystemMenu systemMenu);
  18. CommonResult deleteSystemMenu(Integer userID);
  19. CommonResult<List<SystemMenu>> getSystemMenusByParentId(Long parentId);
  20. //新增播放记录
  21. CommonResult<Integer> insertPlaybackRecord(SystemMenu systemMenu);
  22. CommonResult<List<SystemMenu>> getPlaybackRecords();
  23. CommonResult<List<SystemMenuVo>> getPlaybackRecordBySql();
  24. }