BEGIN
begin tran
    DELETE FROM dict_obj WHERE id=1118594818788814848;
    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','js','JoPaySoaBody','联营对账单明细表','t_jopaysoa_body','','','','',1090595948897234944,'',1118594818788814848,'2023-06-14 17:36:27.000','2023-12-13 16:42:42.000');
    DELETE FROM dict_obj_column WHERE obj_id=1118594818788814848;
    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,1118594768297783296,'单据号','billno','JoPaySoaBody','billno','STRING','',1,0,0,0,20,0,'','',0,'','NONE','','','','','',1,'','2023-06-14 17:36:27.000','2023-06-14 17:36:26.000',1118594818788814848,'');
    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,1118594768591384576,'序号','serialno','JoPaySoaBody','serialno','INT','@SEQNO',1,0,0,0,10,0,'','',0,'','NONE','','','','','',1,'','2023-06-14 17:36:27.000','2023-06-26 18:40:15.000',1118594818788814848,'');
    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,1118594768922734592,'机构编码','orgcode','JoPaySoaBody','orgcode','STRING','',1,0,0,0,10,0,'','Shop',0,'orgname','TABLE','1092464333264252928','orgcode','orgname','(orgtype = ''2'' or orgtype <> ''2'' and isdbdeploy = ''1'')','(orgtype = ''2'' or orgtype <> ''2'' and isdbdeploy = ''1'')',1,'','2023-06-14 17:36:27.000','2023-06-26 18:40:15.000',1118594818788814848,'');
    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,1118594769266667520,'结账日期','accdate','JoPaySoaBody','accdate','STRING','',1,0,0,0,10,0,'','',0,'','NONE','','','','','',1,'','2023-06-14 17:36:27.000','2023-06-14 17:36:26.000',1118594818788814848,'');
    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,1118594769618989056,'售价金额','total','JoPaySoaBody','total','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',1,'','2023-06-14 17:36:27.000','2023-06-15 10:47:59.000',1118594818788814848,'');
    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,1118911960377716736,'优惠金额','yhtotal','JoPaySoaBody','','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',1,'','2023-06-15 14:37:13.000','2023-06-15 14:37:13.000',1118594818788814848,'');
    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,1118594770004865024,'销售金额','amount','JoPaySoaBody','amount','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',1,'','2023-06-14 17:36:27.000','2023-06-15 14:37:12.000',1118594818788814848,'');
    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,1118594770537541632,'应付金额','cost','JoPaySoaBody','cost','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',1,'','2023-06-14 17:36:27.000','2023-06-15 14:37:12.000',1118594818788814848,'');
    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,1118594770986332160,'提成金额','tctotal','JoPaySoaBody','tctotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',1,'','2023-06-14 17:36:27.000','2023-06-15 14:37:12.000',1118594818788814848,'');
    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,1118594771430928384,'备注','remark','JoPaySoaBody','remark','STRING','',0,0,0,0,200,0,'','',0,'','NONE','','','','','',1,'','2023-06-14 17:36:27.000','2023-06-15 14:37:12.000',1118594818788814848,'');
    DELETE FROM dict_obj_table WHERE obj_id=1118594818788814848;
    INSERT INTO dict_obj_table (gmt_create,gmt_modified,id,table_alias,table_label,table_name,relation_type,relation_column,this_column,relation_condition,follow_delete,follow_insert,follow_update,relation_table,seq_no,obj_id) VALUES('2023-06-15 10:47:59.000','2023-06-15 10:47:59.000',1118854412773617664,'Shop','机构表','t_shop','LEFT','orgcode','orgcode','',0,0,0,'',0,1118594818788814848);
    DELETE FROM dict_obj_column_ui WHERE obj_id=1118594818788814848;
    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-06-15 10:47:59.000','2023-06-15 10:48:00.000',1118854412773617665,'1118594768297783296','','',1,3,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1118594818788814848,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-06-15 10:47:59.000','2023-06-15 10:48:00.000',1118854412773617666,'1118594768591384576','','',2,3,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1118594818788814848,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-06-15 10:47:59.000','2023-12-13 16:42:42.000',1118854412773617667,'1118594768922734592','','机构',3,0,'',0,0,0,160,'',0,1,0,0,0,0,1,0,0,0,0,1118594818788814848,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-06-15 10:47:59.000','2023-06-15 10:48:00.000',1118854412773617668,'1118594769266667520','','',4,0,'',0,0,0,0,'',0,1,0,0,0,0,1,0,0,0,0,1118594818788814848,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-06-15 10:47:59.000','2023-06-15 10:48:00.000',1118854412773617669,'1118594769618989056','','',5,0,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1118594818788814848,0,'','','','','',0,'','',0,0,'','',1);
    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-06-15 10:47:59.000','2023-06-15 14:37:28.000',1118854412773617670,'1118594770004865024','','',7,0,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1118594818788814848,0,'','','','','',0,'','',0,0,'','',1);
    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-06-15 10:47:59.000','2023-09-27 18:12:07.000',1118854412773617671,'1118594770537541632','','',8,3,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1118594818788814848,0,'','','','','',0,'','',0,0,'','',1);
    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-06-15 10:47:59.000','2023-06-15 14:37:29.000',1118854412777811968,'1118594770986332160','','',9,0,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1118594818788814848,0,'','','','','',0,'','',0,0,'','',1);
    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-06-15 10:47:59.000','2023-06-15 14:37:29.000',1118854412777811969,'1118594771430928384','','',10,0,'',0,0,0,200,'',0,1,0,0,0,0,1,0,0,0,0,1118594818788814848,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-06-15 14:37:29.000','2023-06-15 14:37:40.000',1118912166674558976,'1118911960377716736','','',6,0,'',0,0,11,0,'',0,1,0,0,0,0,1,0,0,0,0,1118594818788814848,0,'','','','','',0,'','',0,0,'','',1);
    COMMIT tran;
END;