mahao 2 years ago
parent
commit
28aaecee84
  1. 1
      src/WmsWebApi.Application/Boms/BomService.cs
  2. 1
      src/WmsWebApi.Application/OtherZll/OtherZllService.cs
  3. 1
      src/WmsWebApi.Application/PPlan/PPlanService.cs
  4. 3
      src/WmsWebApi.Application/ProductRecieve/ProductRecieveService.cs
  5. BIN
      src/WmsWebApi.Application/Purchase.zip
  6. 3
      src/WmsWebApi.Application/Purchase/PurchaseService.cs
  7. 1
      src/WmsWebApi.Application/StockMove/StockMoveService.cs
  8. 1
      src/WmsWebApi.Application/TbParts/PartService.cs
  9. 1
      src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs

1
src/WmsWebApi.Application/Boms/BomService.cs

@ -204,6 +204,7 @@ public class BomService : ApplicationService, IBomService
bOtherWork = true;
result.MESSAGE = "非长春工厂数据!";
}
await CurrentUnitOfWork.SaveChangesAsync();
}
catch (Exception ex)
{

1
src/WmsWebApi.Application/OtherZll/OtherZllService.cs

@ -336,6 +336,7 @@ public class OtherZllService : ApplicationService, IOtherZllService
{
result.MESSAGE = "err:非物流领料单";
}
await CurrentUnitOfWork.SaveChangesAsync();
}
catch (Exception ex)
{

1
src/WmsWebApi.Application/PPlan/PPlanService.cs

@ -171,6 +171,7 @@ public class PPlanService : ApplicationService, IPPlanService
result.MESSAGE = $"非WinWMS使用的物料号!{_planDto.MATNR}";
}
}
await CurrentUnitOfWork.SaveChangesAsync();
}
catch (Exception ex)
{

3
src/WmsWebApi.Application/ProductRecieve/ProductRecieveService.cs

@ -255,7 +255,8 @@ public class ProductRecieveService : ApplicationService, IProductRecieveService
if (_stockUpdateList != null && _stockUpdateList.Count() > 0)
await _tmPgWmsUpdate.UpdateTsStock(_stockUpdateList);
await _tlTransactionRepository.AddAsync(_transList);
}
}
await CurrentUnitOfWork.SaveChangesAsync();
}
catch (Exception ex)
{

BIN
src/WmsWebApi.Application/Purchase.zip

Binary file not shown.

3
src/WmsWebApi.Application/Purchase/PurchaseService.cs

@ -348,7 +348,8 @@ public class PurchaseService : ApplicationService, IPurchaseService
bUpdate = true;
result.MESSAGE = $"err:单据 {_purchaseDto.MBLNR} 已存在";
}
}
}
await CurrentUnitOfWork.SaveChangesAsync();
}
catch(Exception ex)
{

1
src/WmsWebApi.Application/StockMove/StockMoveService.cs

@ -391,6 +391,7 @@ public class StockMoveService : ApplicationService, IStockMoveService
await _tmPgWmsUpdate.DeleteTsStock(_stockDelList);
await _tlTransactionRepository.AddAsync(_transList);
}
await CurrentUnitOfWork.SaveChangesAsync();
}
catch (Exception ex)
{

1
src/WmsWebApi.Application/TbParts/PartService.cs

@ -274,6 +274,7 @@ public class PartService : ApplicationService, IPartService
result.MESSAGE = $"非WinWMS使用的物料号!{_part.MATNR.Trim()}";
}
}
await CurrentUnitOfWork.SaveChangesAsync();
}
catch (Exception ex)
{

1
src/WmsWebApi.Application/ZlldcjLogs/ZlldcjLogAppService.cs

@ -232,6 +232,7 @@ public class ZlldcjLogAppService : ApplicationService, IZlldcjLogAppService
}
}
}
await CurrentUnitOfWork.SaveChangesAsync();
}
catch (Exception ex)
{

Loading…
Cancel
Save