package com.yida.data.user.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yida.data.common.core.entity.user.EduStaffDept;
import com.yida.data.user.vo.StaffWithDeptVO;

import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface EduStaffDeptMapper extends BaseMapper<EduStaffDept> {

    List<StaffWithDeptVO> listStaffWithDept(@Param("schoolId") Long schoolId);

    List<EduStaffDept> getStaffDeptByStaffIds(@Param("staffIds") List<Long> staffIds);
}