feat(sql): 更新数据库同步标记表- 在 z_exec_last.sql 中添加多个新表名到 IS_DB_SYNC 更新列表

- 新增 lc_drill_plan, lc_confined_space_operation 等共 10个表
- 创建新的 z_exec_last.sql 文件以执行相同的更新逻辑
- 确保所有相关表的 IS_DB_SYNC 字段被正确设置为 'N'
This commit is contained in:
2025-10-31 16:48:41 +08:00
parent a873c208f6
commit 90c00ebe32
2 changed files with 15 additions and 1 deletions

View File

@@ -2,5 +2,9 @@ update "LOWCODE_FRAME"."LOWCODE_DBFORM"
set IS_DB_SYNC='N'
where TABLE_NAME in (
'lc_item_result', 'lc_training_plan', 'lc_training_record',
'lc_work_item', 'lc_work_item_issus'
'lc_work_item', 'lc_work_item_issus', 'lc_drill_plan',
'lc_confined_space_operation', 'lc_emergency_plan', 'lc_exam_plan',
'lc_fire_operation', 'lc_high_operation', 'lc_land_operation',
'lc_lifting_operation', 'lc_outside_person',
'lc_risk_identify_assessment', 'lc_temporary_power_operation'
);

View File

@@ -0,0 +1,10 @@
update "LOWCODE_FRAME"."LOWCODE_DBFORM"
set IS_DB_SYNC='N'
where TABLE_NAME in (
'lc_item_result', 'lc_training_plan', 'lc_training_record',
'lc_work_item', 'lc_work_item_issus', 'lc_drill_plan',
'lc_confined_space_operation', 'lc_emergency_plan', 'lc_exam_plan',
'lc_fire_operation', 'lc_high_operation', 'lc_land_operation',
'lc_lifting_operation', 'lc_outside_person',
'lc_risk_identify_assessment', 'lc_temporary_power_operation'
);