Browse Source

feat(all): 索菲亚工厂

1 增加华之韵物流对接
pre-production
zhaoqiaobo 3 weeks ago
parent
commit
e25a024feb
  1. 2
      blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/interceptor/LocalServerLoginAccountsInterceptor.java
  2. 2
      blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/mapper/FactoryNodeOrderMapper.xml

2
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();

2
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}
</select>
<select id="findFactoryAuthByTenantCode" resultType="com.logpm.factorydata.suofeiya.vo.FactoryAuthVO">

Loading…
Cancel
Save