调整,wms进出库代码逻辑
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user