Merge branch 'dev' of https://git.tuotong-tech.com/tnb/tnb.server into dev
This commit is contained in:
@@ -106,15 +106,13 @@ namespace Tnb.WarehouseMgr
|
|||||||
WmsCheckstockD? checkstockD = checkStockDs?.Find(x => string.Equals(k, $"{x.carry_id}{x.material_id}{x.code_batch}"));
|
WmsCheckstockD? checkstockD = checkStockDs?.Find(x => string.Equals(k, $"{x.carry_id}{x.material_id}{x.code_batch}"));
|
||||||
if (checkstockD != null)
|
if (checkstockD != null)
|
||||||
{
|
{
|
||||||
|
checkstockD.id = SnowflakeIdHelper.NextId();
|
||||||
|
checkstockD.create_id = _userManager.UserId;
|
||||||
|
checkstockD.create_time = DateTime.Now;
|
||||||
checkstockD.pr_qty = v;
|
checkstockD.pr_qty = v;
|
||||||
details.Add(checkstockD);
|
details.Add(checkstockD);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
details.ForEach(x =>
|
|
||||||
{
|
|
||||||
x.create_id = _userManager.UserId;
|
|
||||||
x.create_time = DateTime.Now;
|
|
||||||
});
|
|
||||||
await _db.Insertable(details).ExecuteCommandAsync();
|
await _db.Insertable(details).ExecuteCommandAsync();
|
||||||
break;
|
break;
|
||||||
case EnumCheckType.物料盘点:
|
case EnumCheckType.物料盘点:
|
||||||
|
|||||||
Reference in New Issue
Block a user