package com.bonus.sgzb.base.service;

import com.bonus.sgzb.base.domain.WarehouseKeeper;

import java.util.List;

/**
 * @author lsun
 */
public interface WarehouseKeeperService {
    /**
    * 获取库管员配置列表
    * @param  bean
    * @return  List<WarehouseKeeper>
    */
    List<WarehouseKeeper> getWarehouseKeeperInfoAll(WarehouseKeeper bean);

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

    /**
    * 保存
    * @param  bean
    * @return  int
    */
    int add(WarehouseKeeper bean);

    /**
    * 删除库管员配置
    * @param  bean
    * @return  int
    */
    int deleteByIds(WarehouseKeeper bean);
}
