package com.bonus.sgzb.machine.mapper;

import com.bonus.sgzb.machine.vo.DeptUser;
import com.bonus.sgzb.machine.vo.MaTypeKeeperVO;

import java.util.List;

/**
 * 库管员配置ma_type_keeper(MaTypeKeeper)表数据库访问层
 *
 * @author makejava
 * @since 2023-11-28 11:07:26
 */
public interface MaTypeKeeperMapper {

    /**
     * 根据人员名称查询左侧列表
     * @param userName
     * @return
     */
    List<DeptUser> selectUserList(String userName);

    /**
     * 根据userId查询右侧列表
     * @param userId
     * @param typeName
     * @return
     */
    List<MaTypeKeeperVO> selectListByUserId(Long userId, String typeName);
}

