IHsCanteenMenuService.java 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. package com.willalp.canteen.service;
  2. import com.baomidou.mybatisplus.extension.service.IService;
  3. import com.willalp.canteen.domain.HsCanteenMenu;
  4. import com.willalp.common.core.domain.AjaxResult;
  5. import java.util.Date;
  6. import java.util.List;
  7. /**
  8. * 菜单Service接口
  9. *
  10. * @author songyu
  11. * @date 2021-12-02
  12. */
  13. public interface IHsCanteenMenuService extends IService<HsCanteenMenu>
  14. {
  15. /**
  16. * 查询菜单
  17. *
  18. * @param menuId 菜单主键
  19. * @return 菜单
  20. */
  21. public HsCanteenMenu selectHsCanteenMenuByMenuId(String menuId);
  22. /**
  23. * 查询菜单列表
  24. *
  25. * @param hsCanteenMenu 菜单
  26. * @return 菜单集合
  27. */
  28. public List<HsCanteenMenu> selectHsCanteenMenuList(HsCanteenMenu hsCanteenMenu);
  29. /**
  30. * 新增菜单
  31. *
  32. * @param hsCanteenMenu 菜单
  33. * @return 结果
  34. */
  35. public AjaxResult insertHsCanteenMenu(HsCanteenMenu hsCanteenMenu);
  36. /**
  37. * 修改菜单
  38. *
  39. * @param hsCanteenMenu 菜单
  40. * @return 结果
  41. */
  42. public AjaxResult updateHsCanteenMenu(HsCanteenMenu hsCanteenMenu);
  43. /**
  44. * 批量删除菜单
  45. *
  46. * @param menuIds 需要删除的菜单主键集合
  47. * @return 结果
  48. */
  49. public int deleteHsCanteenMenuByMenuIds(String[] menuIds);
  50. /**
  51. * 删除菜单信息
  52. *
  53. * @param menuId 菜单主键
  54. * @return 结果
  55. */
  56. public int deleteHsCanteenMenuByMenuId(String menuId);
  57. public List<HsCanteenMenu> getLimitMenu(Date date,String jgid);
  58. public List<HsCanteenMenu> selectAppMenuList(List<String> nums,String jgid);
  59. }