package com.ruoyi.web.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.web.domain.dto.villageCommitteeRole.VillageCommitteeRoleAddRequest;
import com.ruoyi.web.domain.dto.villageCommitteeRole.VillageCommitteeRoleEditRequest;
import com.ruoyi.web.domain.dto.villageCommitteeRole.VillageCommitteeRoleQueryRequest;
import com.ruoyi.web.domain.entity.VillageCommitteeRole;

import java.util.List;


/**
 *
 */
public interface VillageCommitteeRoleService extends IService<VillageCommitteeRole> {
    Integer addVillageCommitteeRole(VillageCommitteeRoleAddRequest villageCommitteeRoleAddRequest);

    boolean deleteVillageCommitteeRole(String ids);

    void editVillageCommitteeRole(VillageCommitteeRoleEditRequest villageCommitteeRoleEditRequest);

    /**
     * 根据id查询
     *
     * @param id
     * @return
     */
    VillageCommitteeRole getVillageCommitteeRoleById(int id);


    /**
     * 获取列表
     *
     * @param villageCommitteeRoleQueryRequest
     * @return
     */
    List<VillageCommitteeRole> getListVillageCommitteeRole(VillageCommitteeRoleQueryRequest villageCommitteeRoleQueryRequest);
}
