空载具出库代码调整
This commit is contained in:
@@ -441,7 +441,7 @@ namespace Tnb.WarehouseMgr
|
||||
{
|
||||
foreach (var dt in disTasks)
|
||||
{
|
||||
if (_userManager.UserOrigin.Equals("app", StringComparison.OrdinalIgnoreCase))
|
||||
if (_userManager.User.LoginType.Equals("app", StringComparison.OrdinalIgnoreCase))
|
||||
{
|
||||
dt.biz_type = $"pda{dt.biz_type}";
|
||||
}
|
||||
@@ -460,7 +460,7 @@ namespace Tnb.WarehouseMgr
|
||||
|
||||
await _db.Ado.CommitTranAsync();
|
||||
}
|
||||
catch (Exception)
|
||||
catch (Exception ex)
|
||||
{
|
||||
await _db.Ado.RollbackTranAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user