zhang
2025-05-20 1313906bb1eb983d3beece810035e7fc28d6a92f
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/floyd/FloydNavigateService.java
@@ -17,6 +17,7 @@
import com.zy.acs.manager.system.service.ConfigService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;
import javax.annotation.PostConstruct;
@@ -35,6 +36,8 @@
    private final RedisSupport redis = RedisSupport.defaultRedisSupport;
    @Value("${floyd.enable}")
    private Boolean floydEnable;
    @Autowired
    private CodeService codeService;
    @Autowired
@@ -75,6 +78,9 @@
    @SuppressWarnings("all")
    @PostConstruct
    public void generateMatrix() {
        if (!floydEnable) {
            return;
        }
        Integer lev = MapDataDispatcher.MAP_DEFAULT_LEV;
        String floydHeaderMatrixStr = redis.getValue(RedisConstant.MAP_FLOYD_MATRIX_HEADER_FLAG, String.valueOf(lev));