From 18c3eb7183cc572ce150ed52522d5eaa75ff43b9 Mon Sep 17 00:00:00 2001 From: "yang.lee" Date: Mon, 13 Nov 2023 12:06:33 +0800 Subject: [PATCH] +1 --- WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs b/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs index 6116d81e..59ba69b9 100644 --- a/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs +++ b/WarehouseMgr/Tnb.WarehouseMgr/WmsCheckTaskService.cs @@ -317,13 +317,13 @@ namespace Tnb.WarehouseMgr //var carryIds = carryCodes?.Select(x => x.carry_id) ?? Enumerable.Empty(); //var checkStockDs = await _db.Queryable().Where(it => carryIds.Contains(it.carry_id)).ToListAsync(); - List outputs = carryCodes.GroupBy(g => new { g.material_code, g.code_batch, g.location_code, g.carry_id }).Select(x => new WmsCheckstockD + List outputs = carryCodes.GroupBy(g => new { g.material_code, g.code_batch, g.location_code, g.carry_id }).Select(x => new CheckTaskDetailOutput { material_code = x.Key.material_code, code_batch = x.Key.code_batch, location_code = x.Key.location_code, carry_code = _carryMap[x.Key.carry_id]?.ToString() ?? string.Empty, - pr_qty = x.Sum(d => d.pr_qty), + pr_qty = x.Sum(d => d.codeqty), closing_status = WmsWareHouseConst.CLOSINGSTATUS_WJS_ID, qty = 0, })