DO $$
BEGIN
    DELETE FROM dict_obj WHERE id=988741627658895360;
    INSERT INTO dict_obj (app_code,module_code,code,name,table_name,order_by_sql,fix_condition,order_by,gmt_create,gmt_modified,id,fix_where_sql,app_id,extended_properties) VALUES('scm','107','AcpJsLxBody','联销明细表','tAcpJsLxBody','','','',TIMESTAMP '2022-06-21 09:46:12',TIMESTAMP '2024-01-24 11:46:54',988741627658895360,'',100,'');
    DELETE FROM dict_obj_column WHERE obj_id=988741627658895360;
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(1,988741535963021312,'单据号','BillNo','AcpJsLxBody','BillNo','STRING','',1,0,0,0,0,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 09:41:10',988741627658895360,'',TIMESTAMP '2022-06-21 09:46:12','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(2,1100785419290669056,'报表日期','RptDate','AcpJsLxBody','RptDate','STRING','',0,0,0,0,0,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 09:41:10',988741627658895360,'',TIMESTAMP '2023-04-26 14:09:02','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(3,988741065857040384,'门店编码','YwOrgCode','AcpJsLxBody','YwOrgCode','STRING','',0,0,0,0,0,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 09:41:10',988741627658895360,'',TIMESTAMP '2022-06-21 09:46:12','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(4,988741207024730112,'门店名称','YwOrgName','AcpJsLxBody','YwOrgName','STRING','',0,0,0,0,0,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 09:41:10',988741627658895360,'',TIMESTAMP '2022-06-21 09:46:12','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(5,1085862141866536960,'商品编码','PluCode','AcpJsLxBody','PluCode','STRING','',0,0,0,0,0,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 09:43:25',988741627658895360,'',TIMESTAMP '2023-03-16 09:49:55','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(6,1085862259302854656,'商品名称','PluName','AcpJsLxBody','PluName','STRING','',0,0,0,0,0,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 09:43:25',988741627658895360,'',TIMESTAMP '2023-03-16 09:49:55','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(7,1085862308011307008,'条码','BarCode','AcpJsLxBody','BarCode','STRING','',0,0,0,0,0,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 09:43:25',988741627658895360,'',TIMESTAMP '2023-03-16 09:49:55','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(8,1199649244047208448,'销售数量','XsCount','AcpJsLxBody','XsCount','NUMBER','',0,0,0,0,0,0,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 09:43:25',988741627658895360,'',TIMESTAMP '2024-01-24 09:40:27','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(9,1199658850102276096,'售价金额','YsTotal','AcpJsLxBody','YsTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 10:17:53',988741627658895360,'',TIMESTAMP '2024-01-24 10:17:53','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(10,988741398763143168,'提成比例(%)','TcRate','AcpJsLxBody','TcRate','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 10:19:24',988741627658895360,'',TIMESTAMP '2022-06-21 09:46:12','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(11,988741471941165056,'提成金额','TcTotal','AcpJsLxBody','TcTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 09:43:25',988741627658895360,'',TIMESTAMP '2022-06-21 09:46:12','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(12,988741312893157376,'销售金额','XsTotal','AcpJsLxBody','XsTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 11:46:54',988741627658895360,'',TIMESTAMP '2022-06-21 09:46:12','');
    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,gmt_modified,obj_id,remark,gmt_create,extended_properties) VALUES(13,1199659106462330880,'优惠金额','YhTotal','AcpJsLxBody','YhTotal','NUMBER','',0,0,0,0,19,2,'','',0,'','NONE','','','','','',0,TIMESTAMP '2024-01-24 11:46:54',988741627658895360,'',TIMESTAMP '2024-01-24 10:17:53','');
    DELETE FROM dict_obj_table WHERE obj_id=988741627658895360;
    DELETE FROM dict_obj_column_ui WHERE obj_id=988741627658895360;
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-21 09:46:12',988741630603296768,TIMESTAMP '2024-01-24 09:41:45','988741065857040384','','',3,0,'',0,0,0,130,'',0,1,0,0,0,0,0,0,0,0,984763498128998400,988741627658895360,0,'','','','','',0,'','',984763498128998400,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-21 09:46:12',988741630603296769,TIMESTAMP '2024-01-24 09:41:45','988741207024730112','','',4,0,'',0,0,0,200,'',0,1,0,0,0,0,0,0,0,0,984763498128998400,988741627658895360,0,'','','','','',0,'','',984763498128998400,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-21 09:46:12',988741630603296770,TIMESTAMP '2024-01-24 11:46:54','988741312893157376','','',12,0,'',0,0,0,150,'',0,1,0,0,0,0,0,0,0,0,984763498128998400,988741627658895360,0,'','','','','',0,'','',984763498128998400,0,'','',1);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-21 09:46:12',988741630603296771,TIMESTAMP '2024-01-24 09:43:56','988741398763143168','','',10,0,'',0,0,0,120,'',0,1,0,0,0,0,0,0,0,0,984763498128998400,988741627658895360,0,'','','','','',0,'','',984763498128998400,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-21 09:46:12',988741630603296772,TIMESTAMP '2024-01-24 09:44:14','988741471941165056','','',11,0,'',0,0,0,150,'',0,1,0,0,0,0,0,0,0,0,984763498128998400,988741627658895360,0,'','','','','',0,'','',984763498128998400,0,'','',1);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2022-06-21 09:46:12',988741630607491072,TIMESTAMP '2024-01-24 09:41:45','988741535963021312','','',1,3,'',0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,984763498128998400,988741627658895360,0,'','','','','',0,'','',984763498128998400,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2023-03-16 10:10:50',1085867770333097984,TIMESTAMP '2024-01-24 09:41:45','1085862141866536960','','',5,0,'',0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,90000000062,988741627658895360,0,'','','','','',0,'','',90000000062,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2023-03-16 10:10:50',1085867770333097985,TIMESTAMP '2024-01-24 09:41:45','1085862259302854656','','',6,0,'',0,0,0,150,'',0,1,0,0,0,0,0,0,0,0,90000000062,988741627658895360,0,'','','','','',0,'','',90000000062,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2023-03-16 10:10:50',1085867770337292288,TIMESTAMP '2024-01-24 09:41:45','1085862308011307008','','',7,0,'',0,0,0,120,'',0,1,0,0,0,0,0,0,0,0,90000000062,988741627658895360,0,'','','','','',0,'','',90000000062,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2023-04-26 14:09:02',1100785614594240512,TIMESTAMP '2024-01-24 09:41:45','1100785419290669056','','',2,0,'',0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,90000000062,988741627658895360,0,'','','','','',0,'','',90000000062,0,'','',0);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2024-01-24 09:41:45',1199650240513175552,TIMESTAMP '2024-01-24 09:43:56','1199649244047208448','','',8,0,'',0,0,0,0,'',0,1,0,0,0,0,0,0,0,0,90000000062,988741627658895360,0,'','','','','',0,'','',90000000062,0,'','',1);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2024-01-24 10:19:23',1199659713793355776,TIMESTAMP '2024-01-24 10:19:23','1199658850102276096','','',9,0,'',0,0,0,150,'',0,1,0,0,0,0,0,0,0,0,90000000062,988741627658895360,0,'','','','','',0,'','',90000000062,0,'','',1);
    INSERT INTO dict_obj_column_ui (gmt_create,id,gmt_modified,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(TIMESTAMP '2024-01-24 10:19:23',1199659713793355777,TIMESTAMP '2024-01-24 11:46:54','1199659106462330880','','',13,0,'',0,0,0,150,'',0,1,0,0,0,0,0,0,0,0,90000000062,988741627658895360,0,'','','','','',0,'','',90000000062,0,'','',1);
    COMMIT;
END;
 $$;