1
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}"));
|
||||
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.物料盘点:
|
||||
|
||||
Reference in New Issue
Block a user