package com.panzhihua.service_community.service; import com.panzhihua.common.model.dtos.common.*; import com.panzhihua.common.model.vos.R; /** * 志愿者技能表表服务接口 * * @author lyq * @since 2021-10-30 16:47:36 */ public interface ComMngVolunteerSkillService { /** * 通过ID查询单条数据 * * @param id 主键 * @return 实例对象 */ R queryById(Long id); /** * 分页查询 * * @param comMngVolunteerSkill 筛选条件 * @return 查询结果 */ R queryByPage(PageComMngVolunteerSkillDto comMngVolunteerSkill); /** * 新增数据 * * @param comMngVolunteerSkill 实例对象 * @return 实例对象 */ R insert(AddComMngVolunteerSkillDto comMngVolunteerSkill); /** * 修改数据 * * @param comMngVolunteerSkill 实例对象 * @return 实例对象 */ R update(EditComMngVolunteerSkillDto comMngVolunteerSkill); /** * 通过主键删除数据 * * @param id 主键 * @return 是否成功 */ R deleteById(Long id); /** * 社区后台-查询志愿者技能列表 * @param comMngVolunteerSkill 请求参数 * @return 志愿者技能列表 */ R queryByList(PageComMngVolunteerSkillDto comMngVolunteerSkill); }