1
This commit is contained in:
@@ -228,13 +228,15 @@ namespace Tnb.WarehouseMgr
|
||||
var b = items.Find(x => x.material_code == materialCode && x.code_batch == codeBatch);
|
||||
if (b != null)
|
||||
{
|
||||
b.id = SnowflakeIdHelper.NextId();
|
||||
b.bill_d_id = instockDetails.Find(x => x.material_code == materialCode && x.code_batch == codeBatch)?.id!;
|
||||
b.barcode = jo.Value<string>(nameof(WmsInstockCode.barcode))!;
|
||||
b.barcode_qty = jo.Value<int>(nameof(WmsInstockCode.barcode_qty));
|
||||
instockCOdes.Add(b);
|
||||
}
|
||||
}
|
||||
}
|
||||
var orgId= _userManager.User.OrganizeId;
|
||||
var orgId = _userManager.User.OrganizeId;
|
||||
await _db.Insertable(carryCodes).ExecuteCommandAsync();
|
||||
await _db.Insertable(instockCOdes).CallEntityMethod(it => it.Create(orgId)).ExecuteCommandAsync();
|
||||
await _wareHouseService.GenInStockTaskHandleAfter(preTaskUpInput,
|
||||
|
||||
Reference in New Issue
Block a user