Browse Source

feat(all): 索菲亚工厂

1 增加华之韵物流对接
dev
zhaoqiaobo 4 days ago
parent
commit
f03f0c941c
  1. 4
      blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/service/impl/DeliveryNoteServiceImpl.java

4
blade-service/logpm-factory-data/logpm-factory-data-suofeiya/src/main/java/com/logpm/factorydata/suofeiya/service/impl/DeliveryNoteServiceImpl.java

@ -254,7 +254,7 @@ public class DeliveryNoteServiceImpl extends BaseServiceImpl<DeliveryNoteMapper,
public FactoryAuthVO findFactoryAuth(String companyCode) {
// redis 缓存数据 缓存时间 1天
if (StrUtil.isNotBlank(companyCode)) {
String key = StrUtil.format("factory-data:suofeiya:", companyCode);
String key = "factory-data:suofeiya:" + companyCode;
String json = bladeRedis.get(key);
if (StrUtil.isNotBlank(json)) {
return JSONUtil.toBean(json, FactoryAuthVO.class);
@ -274,7 +274,7 @@ public class DeliveryNoteServiceImpl extends BaseServiceImpl<DeliveryNoteMapper,
public FactoryAuthVO findFactoryAuthByTenantCode(String tenantId) {
// redis 缓存数据 缓存时间 1天
if (StrUtil.isNotBlank(tenantId)) {
String key = StrUtil.format("factory-data:suofeiya:tenant-code:", tenantId);
String key = "factory-data:suofeiya:tenant-code:" + tenantId;
String json = bladeRedis.get(key);
if (StrUtil.isNotBlank(json)) {
return JSONUtil.toBean(json, FactoryAuthVO.class);

Loading…
Cancel
Save