| | |
| | | import com.zy.acs.manager.manager.service.RouteService; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.context.event.EventListener; |
| | | import org.springframework.boot.context.event.ApplicationReadyEvent; |
| | | import org.springframework.stereotype.Service; |
| | | |
| | | import javax.annotation.PostConstruct; |
| | | import java.util.*; |
| | | |
| | | /** |
| | |
| | | @Autowired |
| | | private RouteService routeService; |
| | | |
| | | @EventListener(ApplicationReadyEvent.class) |
| | | @PostConstruct |
| | | public void init() { |
| | | String[][] codeMatrix = this.getCodeMatrix(null); |
| | | this.initRouteMap(null); |