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

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

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

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

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


}