diff --git a/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java b/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java index e80507d0f..2056263a3 100644 --- a/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java +++ b/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java @@ -103,7 +103,7 @@ public class LocalServerLoginAccountsInterceptor extends HandlerInterceptorAdapt String tenantId = "627683"; String authorizationHeader = "bG9jYWw6bG9jYWxfc2VjcmV0"; if (StringUtil.isNotBlank(companyCode)) { - FactoryAuthVO authVO = deliveryNoteService.findFactoryAuth(companyCode); + FactoryAuthVO authVO = deliveryNoteService.findFactoryAuthByTenantCode(companyCode); if (ObjectUtil.isNotEmpty(authVO)) { account = authVO.getLoginAccount(); tenantId = authVO.getTenantCode();