diff --git a/SQL/202512/20251203/z_exec_last.sql b/SQL/202512/20251203/z_exec_last.sql new file mode 100644 index 0000000..b418c47 --- /dev/null +++ b/SQL/202512/20251203/z_exec_last.sql @@ -0,0 +1,8 @@ +update + "LOWCODE_FRAME"."LOWCODE_DBFORM" + set + IS_DB_SYNC='N' + where + TABLE_NAME in ( + 'lc_building','lc_power_env_device','lc_power_env_monitor_metric' + ); \ No newline at end of file diff --git a/SQL/202512/20251204/z_exec_last.sql b/SQL/202512/20251204/z_exec_last.sql new file mode 100644 index 0000000..0702709 --- /dev/null +++ b/SQL/202512/20251204/z_exec_last.sql @@ -0,0 +1,8 @@ +update + "LOWCODE_FRAME"."LOWCODE_DBFORM" +set IS_DB_SYNC='N' +where TABLE_NAME in ( + 'lc_confined_space_operation', 'lc_drill_task', 'lc_fire_operation', 'lc_high_operation', + 'lc_land_operation', 'lc_lifting_operation', 'lc_outside_license', 'lc_outside_person', + 'lc_temporary_power_operation' + ); \ No newline at end of file diff --git a/jeelowcode-admin/src/test/java/com/jeelowcode/tool/framework/common/util/SqlUtilsTest.java b/jeelowcode-admin/src/test/java/com/jeelowcode/tool/framework/common/util/SqlUtilsTest.java index daaab79..e3fa9f6 100644 --- a/jeelowcode-admin/src/test/java/com/jeelowcode/tool/framework/common/util/SqlUtilsTest.java +++ b/jeelowcode-admin/src/test/java/com/jeelowcode/tool/framework/common/util/SqlUtilsTest.java @@ -22,7 +22,7 @@ public class SqlUtilsTest extends BaseMockitoUnitTest { @Test public void testGenerateLastExecuteSQL() throws Exception { - String executeDateStr = "20251125"; + String executeDateStr = "20251204"; Date executeDate = DateUtil.parse(executeDateStr, "yyyyMMdd"); String monthStr = DateUtil.format(executeDate, "yyyyMM"); // 获取项目目录下的SQL目录路径