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:
@@ -2,5 +2,9 @@ update "LOWCODE_FRAME"."LOWCODE_DBFORM"
|
|||||||
set IS_DB_SYNC='N'
|
set IS_DB_SYNC='N'
|
||||||
where TABLE_NAME in (
|
where TABLE_NAME in (
|
||||||
'lc_item_result', 'lc_training_plan', 'lc_training_record',
|
'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'
|
||||||
);
|
);
|
||||||
|
|||||||
10
SQL/202510/20251031_2/z_exec_last.sql
Normal file
10
SQL/202510/20251031_2/z_exec_last.sql
Normal 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'
|
||||||
|
);
|
||||||
Reference in New Issue
Block a user