xhxu 5 лет назад
Родитель
Сommit
8843c88361
2 измененных файлов: 3 добавлений и 0 удалений
  1. +2
    -0
      mallinkService/src/main/java/com/iformall/domain/po/WxLevelConfig.java
  2. +1
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxLevelConfigServiceImpl.java

+ 2
- 0
mallinkService/src/main/java/com/iformall/domain/po/WxLevelConfig.java Просмотреть файл

@@ -2,12 +2,14 @@ package com.iformall.domain.po;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.iformall.domain.po.base.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.util.*;

@JsonIgnoreProperties(value = {"handler"})
@TableName(value = "wx_level_config")
@Data
@EqualsAndHashCode(callSuper = true)


+ 1
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxLevelConfigServiceImpl.java Просмотреть файл

@@ -139,6 +139,7 @@ public class WxLevelConfigServiceImpl implements WxLevelConfigService {

@Override
public List<WxLevelConfig> getByTenantInfo(TenantEntity tenantEntity) {
logger.error(tenantEntity.getTenantId());
String key = Constant.levelConfigPrev + tenantEntity.getTenantId();
ValueOperations<String, List<WxLevelConfig>> operations = wxLevelConfigListRedisTemplate.opsForValue();
if(wxLevelConfigListRedisTemplate.hasKey(key)){


Загрузка…
Отмена
Сохранить