BEGIN
begin tran
    DELETE FROM dict_obj WHERE id=1098296444021895168;
    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','pf','WhPolicy','批发政策','t_whsle_policy','','','','',1090595948897234944,'',1098296444021895168,'2023-04-19 17:17:58.000','2023-11-23 11:23:55.000');
    DELETE FROM dict_obj_column WHERE obj_id=1098296444021895168;
    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,1098296430952443904,'批发政策编码','zccode','WhPolicy','zccode','STRING','',1,1,0,0,4,0,'','',0,'','NONE','','','','','',0,'','2023-04-19 17:17:58.000','2023-04-19 21:44:51.000',1098296444021895168,'');
    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,1098296431225073664,'批发政策名称','zcname','WhPolicy','zcname','STRING','',0,1,0,0,20,0,'','',0,'','NONE','','','','','',0,'','2023-04-19 17:17:58.000','2023-04-19 21:44:51.000',1098296444021895168,'');
    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,1098296431543840768,'价格参照','priceref','WhPolicy','priceref','STRING','0',0,0,0,0,1,0,'','',0,'','ENUM','w10008','','','','',0,'','2023-04-19 17:17:58.000','2023-04-19 05:21:55.000',1098296444021895168,'');
    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,1098296431925522432,'计算方法','computemode','WhPolicy','computemode','STRING','0',0,0,0,0,1,0,'','',0,'','ENUM','w10009','','','','',0,'','2023-04-19 17:17:58.000','2023-04-19 05:21:55.000',1098296444021895168,'');
    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,1098296432252678144,'比率','computerate','WhPolicy','computerate','NUMBER','',0,0,0,0,19,4,'','',0,'','NONE','','','','','',0,'','2023-04-19 17:17:58.000','2023-04-19 05:17:58.000',1098296444021895168,'');
    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,1098296432592416768,'价格精度','pricedot','WhPolicy','pricedot','INT','2',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-04-19 17:17:58.000','2023-11-23 11:23:55.000',1098296444021895168,'');
    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,1098296432990875648,'备注','remark','WhPolicy','remark','STRING','',0,0,0,0,200,0,'','',0,'','NONE','','','','','',0,'','2023-04-19 17:17:58.000','2023-04-19 05:17:58.000',1098296444021895168,'');
    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,1098299647492878336,'实例','info','','','STRING','',0,0,0,1,0,0,'','',0,'','NONE','','','','','',0,'','2023-04-19 17:31:02.000','2023-04-19 05:31:02.000',1098296444021895168,'');
    DELETE FROM dict_obj_table WHERE obj_id=1098296444021895168;
    DELETE FROM dict_obj_column_ui WHERE obj_id=1098296444021895168;
    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-04-19 17:21:55.000','2023-04-19 22:19:05.000',1098297439367983104,'1098296430952443904','','',1,0,'',0,0,0,180,'',0,1,0,0,0,1,1,0,0,0,123456,1098296444021895168,0,'','','','','',0,'','',123456,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-04-19 17:21:55.000','2023-04-19 05:26:36.000',1098297439367983105,'1098296431225073664','','',2,0,'',0,0,0,180,'',0,1,0,0,0,0,1,0,0,0,123456,1098296444021895168,0,'','','','','',0,'','',123456,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-04-19 17:21:55.000','2023-04-19 05:21:55.000',1098297439367983106,'1098296431543840768','','',3,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,123456,1098296444021895168,0,'','','','','',0,'','',123456,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-04-19 17:21:55.000','2023-04-19 05:21:55.000',1098297439367983107,'1098296431925522432','','',4,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,123456,1098296444021895168,0,'','','','','',0,'','',123456,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-04-19 17:21:55.000','2023-04-19 05:21:55.000',1098297439367983108,'1098296432252678144','','',5,0,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,123456,1098296444021895168,0,'','','','','',0,'','',123456,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-04-19 17:21:55.000','2023-11-23 11:23:55.000',1098297439372177408,'1098296432592416768','','',6,0,'',0,0,11,0,'',0,0,0,0,0,0,1,0,0,0,0,1098296444021895168,0,'','','','','',0,'','',123456,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-04-19 17:21:55.000','2023-04-19 05:21:55.000',1098297439372177409,'1098296432990875648','','',7,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,123456,1098296444021895168,0,'','','','','',0,'','',123456,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-04-19 17:31:02.000','2023-04-19 05:44:40.000',1098299735602622464,'1098299647492878336','','',8,0,'',0,0,9,600,'',0,0,0,0,0,0,1,0,0,0,123456,1098296444021895168,0,'','','','','',0,'','',123456,0,'','',0);
    COMMIT tran;
END;