package com.ruoyi.cai.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.cai.domain.Union;
import com.ruoyi.cai.dto.admin.vo.UnionAdminVo;
import com.ruoyi.common.core.domain.PageQuery;

/**
 * 工会列表Service接口
 *
 * @author 77
 * @date 2023-12-22
 */
public interface UnionService extends IService<Union> {

    Page<UnionAdminVo> pageAdmin(PageQuery pageQuery, UnionAdminVo bo);

    Union getByUserId(Long userId);
}
