|
|
|
@ -7,6 +7,7 @@ import com.xujie.sys.modules.pms.mapper.EamMapper; |
|
|
|
import com.xujie.sys.modules.pms.service.Impl.EamServiceImpl; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.springframework.beans.factory.annotation.Autowired; |
|
|
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty; |
|
|
|
import org.springframework.data.redis.cache.CacheKeyPrefix; |
|
|
|
import org.springframework.data.redis.connection.Message; |
|
|
|
import org.springframework.data.redis.core.RedisTemplate; |
|
|
|
@ -24,6 +25,7 @@ import java.util.List; |
|
|
|
*/ |
|
|
|
@Slf4j |
|
|
|
@Component |
|
|
|
@ConditionalOnProperty(prefix = "spring.redis", name = "open", havingValue = "true") |
|
|
|
@Transactional |
|
|
|
public class RedisExpirationListener extends KeyExpirationEventMessageListener { |
|
|
|
/** |
|
|
|
|