修复bug

This commit is contained in:
18942506660
2024-01-03 15:04:28 +08:00
parent c12a45bc61
commit ee39854850

View File

@@ -196,6 +196,7 @@ namespace WMS.Web.Domain.Services
}
if (res_Rollback.IsSuccess)
{
boxIds = entity.Details.SelectMany(s => s.BoxsDetails).Select(s => s.BoxId).ToList();
var res_InStockTask = await _inStockTaskService.UnBind(boxIds, false);
if (!res_InStockTask.IsSuccess) res_Rollback = res_InStockTask;
}