Browse Source

提交

master
mahao 2 years ago
parent
commit
4dc9100679
  1. 10
      src/WmsWebApi.Application/OtherZll/OtherZllService.cs

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

@ -303,8 +303,6 @@ public class OtherZllService : ApplicationService, IOtherZllService
_transList.Add(tlTrans);
}
if (!bErr)
{
try
{
if (_recieveList.Count > 0)
{
@ -319,12 +317,6 @@ public class OtherZllService : ApplicationService, IOtherZllService
await _tmPgWmsUpdate.DeleteTsStock(_stockDelList);
await _tlTransactionRepository.AddAsync(_transList);
}
catch (Exception ex)
{
dto.ITYPE = ex.GetBaseException().Message;
throw new Exception("操作数据库失败,请稍后重试。", ex);
}
}
}
else
{
@ -355,7 +347,7 @@ public class OtherZllService : ApplicationService, IOtherZllService
await _backgroundJobRequestRetry.AddBackgroundJobAsync(EnumActionName.OtherZllAdd, content.ToString());
}
throw;
throw new Exception("操作数据库失败,稍后系统自动重试。", ex);
}
finally
{

Loading…
Cancel
Save