1
This commit is contained in:
@@ -412,10 +412,9 @@ namespace Tnb.WarehouseMgr
|
|||||||
}
|
}
|
||||||
if (dicUpdate.Count > 0)
|
if (dicUpdate.Count > 0)
|
||||||
{
|
{
|
||||||
//var dicCarryCodes = carryCodes.FindAll(x => dicUpdate.Keys.Contains(x.barcode)).GroupBy(g => g.barcode).ToDictionary(x => x.Key, x => x.FirstOrDefault());
|
|
||||||
foreach (var pair in dicUpdate)
|
foreach (var pair in dicUpdate)
|
||||||
{
|
{
|
||||||
WmsCarryCode carryCode = carryCodes.Find(x => x.barcode == pair.Key);
|
WmsCarryCode? carryCode = carryCodes.Find(x => x.barcode == pair.Key);
|
||||||
if (carryCode != null)
|
if (carryCode != null)
|
||||||
{
|
{
|
||||||
carryCode.codeqty = pair.Value;
|
carryCode.codeqty = pair.Value;
|
||||||
|
|||||||
Reference in New Issue
Block a user