BEGIN
begin tran
    DELETE FROM dict_obj WHERE id=1163786922707906560;
    INSERT INTO dict_obj (app_code,module_code,code,name,table_name,order_by_sql,fix_condition,fix_where_sql,gmt_create,gmt_modified,id,extended_properties,app_id,order_by) VALUES('rh','ps','TPluorderParamA','面包快订设置','t_pluorder_param_head','','','','2023-10-17 10:33:44.000','2023-10-24 16:30:15.000',1163786922707906560,'',1090595948897234944,'');
    DELETE FROM dict_obj_column WHERE obj_id=1163786922707906560;
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(1,'billno',1166357344192294912,'billno','TPluorderParamA','billno','STRING','',1,0,0,0,20,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 12:50:45.000','2023-10-24 12:50:45.000',1163786922707906560,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(2,'订货类型',1166357344435564544,'ordertype','TPluorderParamA','ordertype','STRING','0',0,1,0,0,1,0,'',0,'','','ENUM','w10023','','','','',1,'','2023-10-24 12:50:45.000','2023-10-24 14:14:29.000',1163786922707906560,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(3,'orgcode',1166357344741748736,'orgcode','TPluorderParamA','orgcode','STRING','*',0,0,0,0,10,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 12:50:45.000','2023-10-24 12:50:45.000',1163786922707906560,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(4,'orderdate',1166357345089875968,'orderdate','TPluorderParamA','orderdate','STRING','',0,0,0,0,31,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 12:50:45.000','2023-10-24 12:50:45.000',1163786922707906560,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(5,'dhdays',1166357345605775360,'dhdays','TPluorderParamA','dhdays','INT','0',0,0,0,0,10,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 12:50:45.000','2023-10-24 12:50:45.000',1163786922707906560,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(6,'safedays',1166357346012622848,'safedays','TPluorderParamA','safedays','STRING','0',0,0,0,0,1,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 12:50:45.000','2023-10-24 12:50:45.000',1163786922707906560,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(7,'ordercycle',1166357346415276032,'ordercycle','TPluorderParamA','ordercycle','STRING','0',0,0,0,0,1,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 12:50:45.000','2023-10-24 12:50:45.000',1163786922707906560,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(8,'predays',1166357346838900736,'predays','TPluorderParamA','predays','STRING','0',0,0,0,0,1,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 12:50:45.000','2023-10-24 12:50:45.000',1163786922707906560,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(9,'qdamount',1166357347312857088,'qdamount','TPluorderParamA','qdamount','NUMBER','0',0,1,0,0,19,4,'',0,'','','NONE','','','','','',1,'','2023-10-24 12:50:45.000','2023-10-24 14:12:13.000',1163786922707906560,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(10,'订货日',1166377821807833088,'r_askdateD','','','STRING','',0,0,0,0,0,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 14:10:44.000','2023-10-24 14:10:44.000',1163786922707906560,'');
    INSERT INTO dict_obj_column (seq_no,column_label,id,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,para_type,relation_table,relation_column,ref_type,ref_obj,ref_column,ref_column_name,ref_edit_where,ref_query_where,is_strict_ref,extended_properties,gmt_create,gmt_modified,obj_id,remark) VALUES(11,'订货日',1166378080994848768,'r_askdateString','','','STRING','',0,0,0,0,0,0,'',0,'','','NONE','','','','','',1,'','2023-10-24 14:10:44.000','2023-10-24 14:10:44.000',1163786922707906560,'');
    DELETE FROM dict_obj_table WHERE obj_id=1163786922707906560;
    DELETE FROM dict_obj_column_ui WHERE obj_id=1163786922707906560;
    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-10-24 12:50:45.000','2023-10-24 13:46:45.000',1166358116158140416,'1166357344192294912','','',1,3,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1163786922707906560,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-10-24 12:50:45.000','2023-10-24 16:30:15.000',1166358116158140417,'1166357344435564544','','',2,0,'',0,0,2,0,'',0,1,0,0,0,1,1,0,0,0,0,1163786922707906560,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-10-24 12:50:45.000','2023-10-24 13:46:45.000',1166358116162334720,'1166357344741748736','','',3,3,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1163786922707906560,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-10-24 12:50:45.000','2023-10-24 15:21:50.000',1166358116162334721,'1166357345089875968','','订货日',4,3,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1163786922707906560,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-10-24 12:50:45.000','2023-10-24 12:50:45.000',1166358116162334722,'1166357345605775360','','到货天数',5,0,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1163786922707906560,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-10-24 12:50:45.000','2023-10-24 12:50:45.000',1166358116162334723,'1166357346012622848','','安全库存天数',6,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1163786922707906560,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-10-24 12:50:45.000','2023-10-24 12:50:45.000',1166358116166529024,'1166357346415276032','','订货周期',7,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1163786922707906560,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-10-24 12:50:45.000','2023-10-24 12:50:45.000',1166358116166529025,'1166357346838900736','','订货提前期',8,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1163786922707906560,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-10-24 12:50:45.000','2023-10-24 12:50:45.000',1166358116166529026,'1166357347312857088','','订单起订金额',9,0,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1163786922707906560,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-10-24 14:10:44.000','2023-10-24 15:21:50.000',1166378243884838912,'1166377821807833088','','',10,2,'',0,0,7,0,'',0,1,0,0,0,0,1,0,0,0,0,1163786922707906560,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-10-24 14:10:44.000','2023-10-24 15:21:50.000',1166378243884838913,'1166378080994848768','','',11,0,'',0,0,9,0,'',0,0,0,0,0,0,1,0,0,0,0,1163786922707906560,0,'','','','','',0,'','',0,0,'','',0);
    COMMIT tran;
END;