feat(test): 添加生成最后执行SQL的测试功能
- 新增GenerateLastExecuteSQLTest单元测试类 - 实现自动生成z_exec_last.sql文件的功能 - 根据指定日期读取对应SQL目录下的所有文件 - 过滤并提取SQL文件名用于构建更新语句 - 自动生成针对LOWCODE_DBFORM表的更新脚本 - 支持按月分类存储SQL文件的目录结构处理
This commit is contained in:
7
SQL/202511/20251121/z_exec_last.sql
Normal file
7
SQL/202511/20251121/z_exec_last.sql
Normal file
@@ -0,0 +1,7 @@
|
||||
update
|
||||
"LOWCODE_FRAME"."LOWCODE_DBFORM"
|
||||
set IS_DB_SYNC='N'
|
||||
where TABLE_NAME in (
|
||||
'lc_confined_space_operation', 'lc_fire_operation', 'lc_high_operation', 'lc_item_result',
|
||||
'lc_land_operation', 'lc_lifting_operation', 'lc_outside_person', 'lc_temporary_power_operation'
|
||||
);
|
||||
Reference in New Issue
Block a user