|
|
@ -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 |
|
|
|
{ |
|
|
|