LocationAllocationService.java 1.21 KB
package com.huaheng.api.wcs.service.warecellAllocation;

import com.huaheng.pc.config.locationType.domain.LocationType;

import java.util.List;

public interface LocationAllocationService {


   String allocation(int locationRule, List<String> locationTypeCodeList, int high, String area,
                     List<String> roadWay, String warehouseCode, String containerCode, String materialAreaCode, String materialCode);

   String singleRk(String area, List<String> roadWays, int high, String warehouseCode,
                  List<String> locationTypeCodeList, String materialAreaCode);

   /**
    * 分配到车架库C
    */
   String singleRkToC(String area, List<String> roadWays, int high, String warehouseCode,
                   List<String> locationTypeCodeList, String materialAreaCode, String materialCode);

   String doubleRk(String area, List<String> roadWays, int high, String warehouseCode,
                   List<String> locationTypeCodeList, String materialAreaCode);

   /**
    * 获取巷道,根据入库物料均分原则,选取物料最少的巷道
    * @param  roadWays
    * @return
    */
   String getRoadWayByMinMaterial(List<String> roadWays, String materialCode, String area, String warehouseCode);
}