This commit is contained in:
alex
2023-07-27 17:01:47 +08:00
parent 8f4f46be28
commit 7c0207e9e0

View File

@@ -106,15 +106,13 @@ namespace Tnb.WarehouseMgr
WmsCheckstockD? checkstockD = checkStockDs?.Find(x => string.Equals(k, $"{x.carry_id}{x.material_id}{x.code_batch}"));
if (checkstockD != null)
{
checkstockD.id = SnowflakeIdHelper.NextId();
checkstockD.create_id = _userManager.UserId;
checkstockD.create_time = DateTime.Now;
checkstockD.pr_qty = v;
details.Add(checkstockD);
}
}
details.ForEach(x =>
{
x.create_id = _userManager.UserId;
x.create_time = DateTime.Now;
});
await _db.Insertable(details).ExecuteCommandAsync();
break;
case EnumCheckType.: