fix 用户信息区分厂区名称和编码

This commit is contained in:
2024-11-14 14:30:13 +08:00
parent 51b0d4a7bb
commit 5fd97fbd73
2 changed files with 7 additions and 2 deletions

View File

@@ -220,7 +220,7 @@ public class GainfoService : IGainfoService
var tenantResult = await _tenantApi.GetTenantByCodeAsync(info.Factory);
if (tenantResult is { Data: not null })
{
info.Factory = tenantResult.Data.Name;
info.FactoryName = tenantResult.Data.Name;
}
}
catch (Exception)