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 2056263a3..e80507d0f 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.findFactoryAuthByTenantCode(companyCode); + FactoryAuthVO authVO = deliveryNoteService.findFactoryAuth(companyCode); if (ObjectUtil.isNotEmpty(authVO)) { account = authVO.getLoginAccount(); tenantId = authVO.getTenantCode(); diff --git a/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/mapper/FactoryNodeOrderMapper.xml b/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/mapper/FactoryNodeOrderMapper.xml index d64f69c29..a37b4a857 100644 --- a/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/mapper/FactoryNodeOrderMapper.xml +++ b/blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/mapper/FactoryNodeOrderMapper.xml @@ -11,7 +11,7 @@ authorization_header from sfy_factory_auth where - logistics_code = #{companyCode} + company_code = #{companyCode}