1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- package com.ruoyi.system.service;
- import com.ruoyi.common.core.domain.AjaxResult;
- import com.ruoyi.system.domain.VoteTheme;
- import java.util.List;
- /**
- * 投票主题Service接口
- *
- * @author boman
- * @date 2024-11-15
- */
- public interface IVoteThemeService
- {
- /**
- * 查询投票主题
- *
- * @param themeId 投票主题主键
- * @return 投票主题
- */
- public VoteTheme selectVoteThemeByThemeId(Long themeId);
- /**
- * 查询投票主题列表
- *
- * @param voteTheme 投票主题
- * @return 投票主题集合
- */
- public List<VoteTheme> selectVoteThemeList(VoteTheme voteTheme);
- /**
- * 新增投票主题
- *
- * @param voteTheme 投票主题
- * @return 结果
- */
- public AjaxResult insertVoteTheme(VoteTheme voteTheme);
- /**
- * 修改投票主题
- *
- * @param voteTheme 投票主题
- * @return 结果
- */
- public int updateVoteTheme(VoteTheme voteTheme);
- /**
- * 批量删除投票主题
- *
- * @param themeIds 需要删除的投票主题主键集合
- * @return 结果
- */
- public int deleteVoteThemeByThemeIds(Long[] themeIds);
- /**
- * 删除投票主题信息
- *
- * @param themeId 投票主题主键
- * @return 结果
- */
- public int deleteVoteThemeByThemeId(Long themeId);
- }
|