package com.fs.xiaoshouyi.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface XsyCompanyBindMapper {

    int insertBind(@Param("companyId") Long companyId, @Param("accountId") Long accountId);

    int deleteBind(@Param("companyId") Long companyId, @Param("accountId") Long accountId);

    List<Long> selectAccountIdsByCompanyId(@Param("companyId") Long companyId);

    int existsBind(@Param("companyId") Long companyId, @Param("accountId") Long accountId);
}