package cn.wisenergy.mapper;

import cn.wisenergy.model.app.WorkUserDept;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author chenqi
 * @since 2021-01-19
 */
public interface WorkUserDeptMapper extends BaseMapper<WorkUserDept> {

    // 根据部门主键查询在职的用户
    List<Integer> listByDeptIdAndStatus(Integer deptId);
}
