CompanyDictMapper.java 1012 Bytes
package com.subsidy.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.subsidy.model.CompanyDictDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.vo.company.GetCompanyMembersVO;
import com.subsidy.vo.company.OperatorsVO;
import org.springframework.stereotype.Repository;

/**
 * <p>
 * 企业字典表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2024-01-11
 */
@Repository
public interface CompanyDictMapper extends BaseMapper<CompanyDictDO> {


    /**
     * 查询全部企业
     */
    IPage<OperatorsVO> allOperators(IPage page, String companyName, Long fieldId, String superviseName);


    /**
     * 企业管理--查找所有主账号 、运营者
     */
    IPage<OperatorsVO> operators(IPage page, Long userId, String companyName, Long fieldId, String superviseName);


    /**
     * 查看某个公司的学生
     */
    IPage<GetCompanyMembersVO> getCompanyMembers(IPage page, Long companyId, String userName, String memberStatus);

}