IVoteThemeService.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. package com.ruoyi.system.service;
  2. import com.ruoyi.common.core.domain.AjaxResult;
  3. import com.ruoyi.system.domain.VoteTheme;
  4. import java.util.List;
  5. /**
  6. * 投票主题Service接口
  7. *
  8. * @author boman
  9. * @date 2024-11-15
  10. */
  11. public interface IVoteThemeService
  12. {
  13. /**
  14. * 查询投票主题
  15. *
  16. * @param themeId 投票主题主键
  17. * @return 投票主题
  18. */
  19. public VoteTheme selectVoteThemeByThemeId(Long themeId);
  20. /**
  21. * 查询投票主题列表
  22. *
  23. * @param voteTheme 投票主题
  24. * @return 投票主题集合
  25. */
  26. public List<VoteTheme> selectVoteThemeList(VoteTheme voteTheme);
  27. /**
  28. * 新增投票主题
  29. *
  30. * @param voteTheme 投票主题
  31. * @return 结果
  32. */
  33. public AjaxResult insertVoteTheme(VoteTheme voteTheme);
  34. /**
  35. * 修改投票主题
  36. *
  37. * @param voteTheme 投票主题
  38. * @return 结果
  39. */
  40. public int updateVoteTheme(VoteTheme voteTheme);
  41. /**
  42. * 批量删除投票主题
  43. *
  44. * @param themeIds 需要删除的投票主题主键集合
  45. * @return 结果
  46. */
  47. public int deleteVoteThemeByThemeIds(Long[] themeIds);
  48. /**
  49. * 删除投票主题信息
  50. *
  51. * @param themeId 投票主题主键
  52. * @return 结果
  53. */
  54. public int deleteVoteThemeByThemeId(Long themeId);
  55. }