BEGIN
begin tran
    DELETE FROM dict_obj WHERE id=1183717887207010304;
    INSERT INTO dict_obj (app_code,module_code,code,name,table_name,order_by_sql,fix_condition,order_by,fix_where_sql,app_id,extended_properties,id,gmt_create,gmt_modified) VALUES('rh','kc','TPromThemeHead','促销主题','t_prom_theme_head','','','','',1090595948897234944,'',1183717887207010304,'2023-12-11 10:32:17.000','2023-12-11 10:51:33.000');
    DELETE FROM dict_obj_column WHERE obj_id=1183717887207010304;
    INSERT INTO dict_obj_column (seq_no,id,column_label,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(1,1183716765725618176,'单据号','billno','TPromThemeHead','billno','STRING','',1,0,0,0,20,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:32:17.000','2023-12-11 10:51:33.000',1183717887207010304,'');
    INSERT INTO dict_obj_column (seq_no,id,column_label,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(2,1183716765981470720,'促销标题','title','TPromThemeHead','title','STRING','',0,1,0,0,200,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887207010304,'');
    INSERT INTO dict_obj_column (seq_no,id,column_label,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(3,1183716766367346688,'促销类型','promtype','TPromThemeHead','promtype','STRING','0',0,1,0,0,1,0,'','',0,'','ENUM','w10026','','','','',0,'','2023-12-11 10:32:17.000','2023-12-11 10:50:25.000',1183717887207010304,'');
    INSERT INTO dict_obj_column (seq_no,id,column_label,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(4,1183716766673530880,'录入日期','lrdate','TPromThemeHead','lrdate','STRING','@NOWDATE',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887207010304,'');
    INSERT INTO dict_obj_column (seq_no,id,column_label,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(5,1183716767021658112,'录入时间','lrtime','TPromThemeHead','lrtime','STRING','@NOWTIME',0,0,0,0,8,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887207010304,'');
    INSERT INTO dict_obj_column (seq_no,id,column_label,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(7,1183716767759855616,'录入人编码','usercode','TPromThemeHead','usercode','STRING','@USERCODE',0,0,0,0,6,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887207010304,'');
    INSERT INTO dict_obj_column (seq_no,id,column_label,column_name,table_name,physical_name,data_type,default_value,is_primary_key,is_required,is_auto_increment,is_ignore,data_width,data_dec,mirror_column,relation_table,para_type,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,remark,gmt_create,gmt_modified,obj_id,extended_properties) VALUES(8,1183716768200257536,'录入人名称','username','TPromThemeHead','username','STRING','@USERNAME',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887207010304,'');
    DELETE FROM dict_obj_table WHERE obj_id=1183717887207010304;
    DELETE FROM dict_obj_column_ui WHERE obj_id=1183717887207010304;
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887211204608,'1183716765725618176','','',1,0,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1183717887207010304,0,'','','','','',0,'','',0,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887211204609,'1183716765981470720','','',2,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1183717887207010304,0,'','','','','',0,'','',0,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887215398912,'1183716766367346688','','',3,0,'',0,0,2,0,'',0,1,0,0,0,0,1,0,0,0,0,1183717887207010304,0,'','','','','',0,'','',0,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887215398913,'1183716766673530880','','',4,1,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1183717887207010304,0,'','','','','',0,'','',0,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887215398914,'1183716767021658112','','',5,1,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1183717887207010304,0,'','','','','',0,'','',0,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887215398915,'1183716767759855616','','',7,1,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1183717887207010304,0,'','','','','',0,'','',0,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,gmt_modified,id,column_id,default_value,disp_name,disp_index,disp_position,disp_format,disp_scale,disp_width,editor,header_width,hint,is_edit_limit,is_editable,is_empty_row_field,is_highlight,is_keyword,is_only_add,is_qry_sele,is_strict_ref,is_zero_space,label_width,modified_by,obj_id,proc_para_type,ref_cols,ref_edit_where,ref_field,ref_field_name,ref_obj,ref_type,remark,set_rule,create_by,is_fixed,ext_params,form_group,stat_type) VALUES('2023-12-11 10:32:17.000','2023-12-11 10:32:15.000',1183717887215398916,'1183716768200257536','','',8,1,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1183717887207010304,0,'','','','','',0,'','',0,0,'','',0);
    COMMIT tran;
END;