BEGIN
begin tran
    DELETE FROM dict_obj WHERE id=1181252084175990784;
    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','da','UpdatePluOrgHead','维护可经营商品信息主表','t_update_pluorg_head','','','','',1090595948897234944,'',1181252084175990784,'2023-12-04 15:14:03.000','2023-12-04 16:53:09.000');
    DELETE FROM dict_obj_column WHERE obj_id=1181252084175990784;
    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,1181251406271606784,'单据号','billno','UpdatePluOrgHead','billno','STRING','',1,0,0,0,20,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251406481321984,'录入日期','lrdate','UpdatePluOrgHead','lrdate','STRING','@NOWDATE',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251406762340352,'录入时间','lrtime','UpdatePluOrgHead','lrtime','STRING','@NOWTIME',0,0,0,0,8,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251407072718848,'记账日期','rzdate','UpdatePluOrgHead','rzdate','STRING','',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251407416651776,'记账时间','rztime','UpdatePluOrgHead','rztime','STRING','',0,0,0,0,8,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251407777361920,'录入人编码','usercode','UpdatePluOrgHead','usercode','STRING','@USERCODE',0,0,0,0,6,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251408159043584,'录入人姓名','username','UpdatePluOrgHead','username','STRING','@USERNAME',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251408570085376,'制单人编码','zdrcode','UpdatePluOrgHead','zdrcode','STRING','@USERCODE',0,0,0,0,6,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251409006292992,'制单人名称','zdrname','UpdatePluOrgHead','zdrname','STRING','@USERNAME',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251409471860736,'审核人编码','shrcode','UpdatePluOrgHead','shrcode','STRING','',0,0,0,0,6,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251410121977856,'审核人名称','shrname','UpdatePluOrgHead','shrname','STRING','',0,0,0,0,10,0,'','',0,'','NONE','','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084175990784,'');
    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,1181251410696597504,'审核状态','chkstatus','UpdatePluOrgHead','chkstatus','STRING','0',0,0,0,0,1,0,'','',0,'','ENUM','S003','','','','',0,'','2023-12-04 15:14:03.000','2023-12-04 16:53:10.000',1181252084175990784,'');
    DELETE FROM dict_obj_table WHERE obj_id=1181252084175990784;
    DELETE FROM dict_obj_column_ui WHERE obj_id=1181252084175990784;
    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-04 15:14:03.000','2023-12-04 16:53:10.000',1181252084180185088,'1181251406271606784','','',1,0,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084180185089,'1181251406481321984','','',2,0,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084180185090,'1181251406762340352','','',3,0,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 16:53:10.000',1181252084180185091,'1181251407072718848','','',4,1,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 16:53:10.000',1181252084184379392,'1181251407416651776','','',5,1,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 16:53:10.000',1181252084184379393,'1181251407777361920','','',6,1,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 16:53:10.000',1181252084184379394,'1181251408159043584','','',7,1,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084184379395,'1181251408570085376','','',8,0,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 15:14:01.000',1181252084184379396,'1181251409006292992','','',9,0,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 16:53:10.000',1181252084184379397,'1181251409471860736','','',10,1,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 16:53:10.000',1181252084184379398,'1181251410121977856','','',11,1,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,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-04 15:14:03.000','2023-12-04 16:53:10.000',1181252084184379399,'1181251410696597504','','',12,1,'',0,0,0,0,'',0,0,0,0,0,0,1,0,0,0,0,1181252084175990784,0,'','','','','',0,'','',0,0,'','',0);
    COMMIT tran;
END;