diff --git a/generic_table/src/main/java/org/example/App.java b/generic_table/src/main/java/org/example/App.java index a8e7875..34f7335 100755 --- a/generic_table/src/main/java/org/example/App.java +++ b/generic_table/src/main/java/org/example/App.java @@ -102,7 +102,7 @@ public class App { Connection con = null; Statement stmt = null; - String jdbcURL2 = "jdbc:postgresql://localhost:2345/fw_demo?currentSchema=fw_core"; + String jdbcURL2 = "jdbc:postgresql://localhost:2345/fw_dev?currentSchema=fw_core"; Connection connection2 = null; int client_id = 0, function_id = 0, job_id = 0, step_id = 0, max_run_schedule_id = 0; @@ -492,12 +492,12 @@ public class App { stmt9.setInt(1, max_file_syspk); stmt9.executeUpdate(); - String runsch_update = " update fw_core.fw_jobctl_runschedule set end_status='error',end_status_note='stg1_failed', end_time=now() where latest_runschedule_flag='1'; "; + String runsch_update = " update fw_core.fw_jobctl_runschedule set end_status='success',end_status_note='stg1_completed', end_time=now() where latest_runschedule_flag='1'; "; Statement stmt10 = connection.createStatement(); stmt10.executeUpdate(runsch_update); //update end_status in fw_jobctl_runschedule_jobstep - String sql_file_level4 = " update fw_core.fw_jobctl_runschedule_jobstep set end_status='error',end_status_note='stg1_failed', end_time=now() where latest_runschedule_flag='1' and run_schedule_id=? and job_id=? and step_id=?;"; + String sql_file_level4 = " update fw_core.fw_jobctl_runschedule_jobstep set end_status='success',end_status_note='stg1_completed', end_time=now() where latest_runschedule_flag='1' and run_schedule_id=? and job_id=? and step_id=?;"; PreparedStatement stmt11 = connection.prepareStatement(sql_file_level4); stmt11.setInt(1, max_run_schedule_id); stmt11.setInt(2, job_id); diff --git a/generic_table/target/classes/org/example/App.class b/generic_table/target/classes/org/example/App.class index a0c4fde..b407428 100644 Binary files a/generic_table/target/classes/org/example/App.class and b/generic_table/target/classes/org/example/App.class differ diff --git a/generic_table/target/ex1-1.0-SNAPSHOT-shaded.jar b/generic_table/target/ex1-1.0-SNAPSHOT-shaded.jar index 5e24453..4b2792e 100644 Binary files a/generic_table/target/ex1-1.0-SNAPSHOT-shaded.jar and b/generic_table/target/ex1-1.0-SNAPSHOT-shaded.jar differ diff --git a/generic_table/target/ex1-1.0-SNAPSHOT.jar b/generic_table/target/ex1-1.0-SNAPSHOT.jar index e619b13..1cb6809 100644 Binary files a/generic_table/target/ex1-1.0-SNAPSHOT.jar and b/generic_table/target/ex1-1.0-SNAPSHOT.jar differ diff --git a/generic_table/target/surefire-reports/TEST-org.example.AppTest.xml b/generic_table/target/surefire-reports/TEST-org.example.AppTest.xml index 4020cfe..564b57d 100644 --- a/generic_table/target/surefire-reports/TEST-org.example.AppTest.xml +++ b/generic_table/target/surefire-reports/TEST-org.example.AppTest.xml @@ -1,5 +1,5 @@ - + @@ -60,5 +60,5 @@ - + \ No newline at end of file diff --git a/generic_table/target/surefire-reports/org.example.AppTest.txt b/generic_table/target/surefire-reports/org.example.AppTest.txt index bde7a9b..70ab96e 100644 --- a/generic_table/target/surefire-reports/org.example.AppTest.txt +++ b/generic_table/target/surefire-reports/org.example.AppTest.txt @@ -1,4 +1,4 @@ ------------------------------------------------------------------------------- Test set: org.example.AppTest ------------------------------------------------------------------------------- -Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.067 sec +Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.11 sec