|
|
@ -107,10 +107,10 @@ namespace Aucma.Core.BoxFoam.Business
|
|
|
|
private List<SpaceAddress> spaceAddresses = new List<SpaceAddress>();
|
|
|
|
private List<SpaceAddress> spaceAddresses = new List<SpaceAddress>();
|
|
|
|
private SemaphoreSlim _lock = new SemaphoreSlim(1);
|
|
|
|
private SemaphoreSlim _lock = new SemaphoreSlim(1);
|
|
|
|
private static int AAA = 1;
|
|
|
|
private static int AAA = 1;
|
|
|
|
//public CollectionFoamLine coll = new CollectionFoamLine();
|
|
|
|
|
|
|
|
public void init()
|
|
|
|
public void init()
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//coll.startCollect();
|
|
|
|
|
|
|
|
allSpaces = _baseSpaceInfoServices.Query(x => x.StoreCode == storeCode);
|
|
|
|
allSpaces = _baseSpaceInfoServices.Query(x => x.StoreCode == storeCode);
|
|
|
|
foreach (var space in allSpaces)
|
|
|
|
foreach (var space in allSpaces)
|
|
|
|
{
|
|
|
|
{
|
|
|
@ -659,8 +659,7 @@ namespace Aucma.Core.BoxFoam.Business
|
|
|
|
spaceInfo.SpaceStock = item.SpaceStock;
|
|
|
|
spaceInfo.SpaceStock = item.SpaceStock;
|
|
|
|
// 入库完成,在途减1
|
|
|
|
// 入库完成,在途减1
|
|
|
|
spaceInfo.OnRouteAmount -= 1;
|
|
|
|
spaceInfo.OnRouteAmount -= 1;
|
|
|
|
//spaceInfo.OnRouteAmount = item.OnRouteAmount;
|
|
|
|
|
|
|
|
//spaceInfo.SpaceStatus = item.SpaceStatus;
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
|
|
await _baseSpaceInfoServices.UpdateSpaceInfo(spaceInfo);
|
|
|
|
await _baseSpaceInfoServices.UpdateSpaceInfo(spaceInfo);
|
|
|
|