优先级、巷道、分区
This commit is contained in:
@@ -483,8 +483,8 @@ namespace Tnb.WarehouseMgr
|
||||
_ = await _dbScanInStockByRedis.Insertable(instockCode).ExecuteCommandAsync();
|
||||
Logger.LogInformation($"【ScanInStockByRedis】插入WmsInstockCode {JsonConvert.SerializeObject(instockCode)}");
|
||||
}
|
||||
|
||||
InStockStrategyQuery inStockStrategyInput = new() { warehouse_id = "1", Size = 1 };
|
||||
|
||||
InStockStrategyQuery inStockStrategyInput = new() { warehouse_id = "1", Size = 1, AvoidBusyPassage = true, Region_id = WmsWareHouseConst.REGION_YCLCache_ID };
|
||||
List<BasLocation> endLocations = await _wareHouseService.InStockStrategy(inStockStrategyInput);
|
||||
WmsPointH sPoint = new();
|
||||
WmsPointH ePoint = new();
|
||||
@@ -554,7 +554,8 @@ namespace Tnb.WarehouseMgr
|
||||
require_id = instock.id,
|
||||
require_code = instock.bill_code,
|
||||
create_id = _userManager.User == null ? "" : _userManager.UserId!,
|
||||
create_time = DateTime.Now
|
||||
create_time = DateTime.Now,
|
||||
priority = WmsWareHouseConst.priority_instock
|
||||
};
|
||||
return preTask;
|
||||
}).ToList();
|
||||
|
||||
Reference in New Issue
Block a user