调整,wms进出库代码逻辑

This commit is contained in:
alex
2023-07-11 16:49:14 +08:00
parent 0c64a6ccda
commit ff225db2e1
4 changed files with 14 additions and 8 deletions

View File

@@ -121,7 +121,7 @@ namespace Tnb.WarehouseMgr
x.bill_d_id = instockD.id;
});
}
return await _update(instockD, stockCodes!);
return await Update(instockD, stockCodes!);
}
var isOk = input.inoutStockType switch
@@ -723,7 +723,7 @@ namespace Tnb.WarehouseMgr
}
}
private async Task<bool> _update<T1, T2>(T1 entity, List<T2> entities) where T1 : BaseEntity<string>, new() where T2 : BaseEntity<string>, new()
private async Task<bool> Update<T1, T2>(T1 entity, List<T2> entities) where T1 : BaseEntity<string>, new() where T2 : BaseEntity<string>, new()
{
var isOk = false;
try