WarehouseService.java 718 Bytes
package com.huaheng.pc.config.warehouse.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.huaheng.pc.config.warehouse.domain.Warehouse;

import java.util.List;
import java.util.Map;

public interface WarehouseService extends IService<Warehouse>{

    List<Map<String,Object>> getWarehouseList(Integer id);

    List<Warehouse> selectWarehouseByUserId(Integer userId);

    /**
     * 复制仓库
     * @param warehouseCode 仓库编码
     * @param newWarehouseCode 新仓库编码
     */
    Boolean warehouseCopy(String warehouseCode, String newWarehouseCode);


    List<Warehouse> selectListEntityByEqual(Warehouse condition);

    List<Map<String, Object>> getWarehouseMap();
}