BEGIN
begin tran
    DELETE FROM dict_obj WHERE id=1183718769936035840;
    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','TPromThemeBody','促销明细','t_prom_theme_body','','','','',1090595948897234944,'',1183718769936035840,'2023-12-11 10:35:47.000','2023-12-11 14:40:41.000');
    DELETE FROM dict_obj_column WHERE obj_id=1183718769936035840;
    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,1183718029486190592,'单据号','billno','TPromThemeBody','billno','STRING','',1,0,0,0,20,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:35:47.000','2023-12-11 10:35:46.000',1183718769936035840,'');
    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,1183718029855289344,'序号','serialno','TPromThemeBody','serialno','INT','',1,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:35:47.000','2023-12-11 10:35:46.000',1183718769936035840,'');
    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,1183718030144696320,'商品编码','plucode','TPromThemeBody','plucode','STRING','',0,1,0,0,20,0,'','',0,'','TABLE','1093899940632981504','plucode','','','',1,'','2023-12-11 10:35:47.000','2023-12-11 14:40:41.000',1183718769936035840,'');
    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,1183718030459269120,'商品名称','pluname','TPromThemeBody','pluname','STRING','',0,0,0,0,40,0,'','',0,'','PROP','plucode','pluname','','','',0,'','2023-12-11 10:35:47.000','2023-12-11 10:35:46.000',1183718769936035840,'');
    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,1183718030786424832,'活动范围','promrange','TPromThemeBody','promrange','STRING','',0,0,0,0,1000,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:35:47.000','2023-12-11 10:35:46.000',1183718769936035840,'');
    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(6,1183718031147134976,'活动开始日期','bgndate','TPromThemeBody','bgndate','STRING','',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:35:47.000','2023-12-11 10:35:46.000',1183718769936035840,'');
    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,1183718031583342592,'活动结束日期','enddate','TPromThemeBody','enddate','STRING','',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:35:47.000','2023-12-11 10:35:46.000',1183718769936035840,'');
    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,1183718031981801472,'订货采购日期','orderdate','TPromThemeBody','orderdate','STRING','',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:35:47.000','2023-12-11 10:35:46.000',1183718769936035840,'');
    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(9,1183718032388648960,'系统设置促销价（含税）','promprice','TPromThemeBody','promprice','NUMBER','',0,0,0,0,19,4,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:35:47.000','2023-12-11 10:35:46.000',1183718769936035840,'');
    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(10,1183718032841633792,'促销定位','promname','TPromThemeBody','promname','STRING','',0,0,0,0,100,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:35:47.000','2023-12-11 10:35:46.000',1183718769936035840,'');
    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(11,1183718033311395840,'促销设置','promdesc','TPromThemeBody','promdesc','STRING','',0,0,0,0,100,0,'','',0,'','NONE','','','','','',0,'','2023-12-11 10:35:47.000','2023-12-11 10:35:46.000',1183718769936035840,'');
    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(12,1183779963296280576,'范围类型','rangetype','TPromThemeBody','rangetype','STRING','',0,1,0,0,0,0,'','',0,'','ENUM','w10027','','','','',0,'','2023-12-11 14:40:43.000','2023-12-11 14:40:41.000',1183718769936035840,'');
    DELETE FROM dict_obj_table WHERE obj_id=1183718769936035840;
    DELETE FROM dict_obj_column_ui WHERE obj_id=1183718769936035840;
    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:35:47.000','2023-12-11 10:35:46.000',1183718769944424448,'1183718029486190592','','',2,3,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1183718769936035840,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:35:47.000','2023-12-11 10:47:47.000',1183718769944424449,'1183718029855289344','','',1,3,'',0,0,11,0,'',0,0,0,0,0,0,1,0,0,0,0,1183718769936035840,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:35:47.000','2023-12-11 10:35:46.000',1183718769944424450,'1183718030144696320','','',4,0,'',0,0,1,0,'',0,1,0,0,0,0,1,0,0,0,0,1183718769936035840,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:35:47.000','2023-12-11 10:35:46.000',1183718769944424451,'1183718030459269120','','',6,0,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1183718769936035840,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:35:47.000','2023-12-11 10:35:46.000',1183718769944424452,'1183718030786424832','','',8,0,'',0,0,9,0,'',0,1,0,0,0,0,1,0,0,0,0,1183718769936035840,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:35:47.000','2023-12-11 10:35:46.000',1183718769944424453,'1183718031147134976','','',10,0,'',0,0,5,0,'',0,1,0,0,0,0,1,0,0,0,0,1183718769936035840,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:35:47.000','2023-12-11 10:35:46.000',1183718769944424454,'1183718031583342592','','',12,0,'',0,0,5,0,'',0,1,0,0,0,0,1,0,0,0,0,1183718769936035840,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:35:47.000','2023-12-11 10:35:46.000',1183718769944424455,'1183718031981801472','','',14,0,'',0,0,5,0,'',0,1,0,0,0,0,1,0,0,0,0,1183718769936035840,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:35:47.000','2023-12-11 10:35:46.000',1183718769948618752,'1183718032388648960','','',16,0,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1183718769936035840,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:35:47.000','2023-12-11 10:35:46.000',1183718769948618753,'1183718032841633792','','',18,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1183718769936035840,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:35:47.000','2023-12-11 10:35:46.000',1183718769948618754,'1183718033311395840','','',20,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1183718769936035840,0,'','','','','',0,'','',0,0,'','',0);
    COMMIT tran;
END;