Blame view

CompanyMemberMappingMapper.java 706 Bytes
涂亚平 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
package com.subsidy.mapper;

import com.subsidy.model.CompanyMemberMappingDO;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.subsidy.vo.member.MemberCompanyVO;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * <p>
 * 公司人员映射表 Mapper 接口
 * </p>
 *
 * @author Tuyp
 * @since 2024-01-11
 */
@Repository
public interface CompanyMemberMappingMapper extends BaseMapper<CompanyMemberMappingDO> {

    /**
     * 查询某个人带过公司的记录
     */
    List<MemberCompanyVO> memberCompanys(Long memberId);

    /**
     * 查看某公司下已经认证的学员的个数
     */
    Integer companyAuthMembersCount(Long companyId);


}