#
luxiaotao1123
2024-12-17 27ad7e7930c7e7d2c785dc321b4a30935442b352
zy-acs-manager/src/main/java/com/zy/acs/manager/core/service/AvoidWaveCalculator.java
@@ -151,7 +151,8 @@
                int exitCode = process.waitFor();
                if (exitCode != 0) {
                    System.out.println("Python script exited with error code: " + exitCode);
                    log.error("Python script exited with error code: {}", exitCode);
                    log.error("python error:{}", builder.toString());
                    return;
                }
                reader.close();
@@ -164,13 +165,13 @@
                if (!Cools.isEmpty(result)) {
                    if (!"1".equals(result)) {
                        log.error("Fail python");
                        log.error("Failed to call python");
                    }
                }
            } catch (IOException | InterruptedException e) {
                e.printStackTrace();
            }
            log.error("python finish {}", System.currentTimeMillis() - startTime);
//            log.error("python finish {}", System.currentTimeMillis() - startTime);
            // java
//            String[][] codeMatrix = mapDataDispatcher.getCodeMatrix(lev);