#
luxiaotao1123
2024-10-25 d0454f5c505181ee4f8fa1468eca458c5102ab12
#
1个文件已修改
4 ■■■■ 已修改文件
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/LaneService.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/LaneService.java
@@ -7,6 +7,7 @@
import com.zy.acs.manager.manager.entity.Code;
import com.zy.acs.manager.manager.service.CodeService;
import com.zy.acs.manager.manager.service.RouteService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@@ -17,6 +18,7 @@
/**
 * Created by vincent on 10/25/2024
 */
@Slf4j
@Service
public class LaneService {
@@ -51,6 +53,7 @@
    @PostConstruct
    public synchronized void init() {
        log.info("the rcs system is starting to initialze lane data...");
        List<Code> codeList = codeService.list(new LambdaQueryWrapper<Code>().eq(Code::getStatus, 1));
        this.fillAdjacencyCodeMap(codeList);
@@ -64,6 +67,7 @@
        this.filterLanesWithFewPoints();
        this.initialized = Boolean.TRUE;
        log.info("the lane data initialzation has been completed in rcs system.");
    }
    private void fillAdjacencyCodeMap(List<Code> codeList) {