+1
This commit is contained in:
@@ -317,13 +317,13 @@ namespace Tnb.WarehouseMgr
|
||||
//var carryIds = carryCodes?.Select(x => x.carry_id) ?? Enumerable.Empty<string>();
|
||||
//var checkStockDs = await _db.Queryable<WmsCheckstockD>().Where(it => carryIds.Contains(it.carry_id)).ToListAsync();
|
||||
|
||||
List<WmsCheckstockD> outputs = carryCodes.GroupBy(g => new { g.material_code, g.code_batch, g.location_code, g.carry_id }).Select(x => new WmsCheckstockD
|
||||
List<CheckTaskDetailOutput> 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,
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user