This commit is contained in:
tongfei
2024-03-14 09:34:39 +08:00

View File

@@ -178,6 +178,7 @@ namespace WMS.Web.Api.Controllers
//await _outStockTaskService.Sync(new List<string>() { billNo });
var res = await _repositories.GetOutStockTaskByNo(billNo);
res.details = res.details.Where(w => w.AccruedQty > w.RealityQty).ToList();
if (res == null) return Result<GetOutStockTaskByNoResponse>.ReFailure(ResultCodes.OutStockTaskNoData);
return Result<GetOutStockTaskByNoResponse>.ReSuccess(res);
}