DO $$
BEGIN
    DELETE FROM sys_menu WHERE id=986982413370392576;
    INSERT INTO sys_menu (id,gmt_create,gmt_modified,create_by,modified_by,code,title,redirect,menu_url,perms,menu_type,icon,order_num,p_id,order_level,is_enable,is_hide,ui_id) VALUES(986982413370392576,TIMESTAMP '2022-06-16 13:15:45',TIMESTAMP '2024-01-24 12:24:04','90000000061','90000000061','10701','经销对账','','/10701','',1,'jsjxbill',1,107,':107:10701',1,0,986982226564481024);
    DELETE FROM SYS_MENU_ORGTYPE WHERE MENU_ID=986982413370392576;
    DELETE FROM dict_ui WHERE id=986982226564481024;
    INSERT INTO dict_ui (id,gmt_create,gmt_modified,create_by,modified_by,code,name,backend_component,frontend_component,remark,perms,src_path) VALUES(986982226564481024,TIMESTAMP '2022-06-16 13:15:45',TIMESTAMP '2022-06-16 13:24:36',90000000061,90000000061,'ScmJsJxBill','经销对账','ScmJsJxBillComponent','ScmJsJxBill','','','');
    DELETE FROM dict_ui_obj WHERE ui_id=986982226564481024;
    INSERT INTO dict_ui_obj (id,gmt_create,gmt_modified,create_by,ui_id,modified_by,obj_id,label,is_deletable,is_editable,is_insertable,is_master,is_multi_page,is_save_refresh,is_show,parent_obj,master_key,detail_key,fix_search,default_order,multi_field,multi_msg,tree_field,group_header,remark,page_size,code,p_id,is_force_sync,form_column_span,is_inline_edit,is_show_index_column,is_show_select_column,is_show_action_column,is_grid_auto_save,is_auto_refresh,is_show_grid_toolbar,is_only_save_current,is_highlight_edit_cell) VALUES(986982843273969664,TIMESTAMP '2022-06-16 13:17:28',TIMESTAMP '2023-04-17 15:03:29',90000000061,986982226564481024,90000000062,986950437720555520,'应付经销结算单主表',0,0,0,1,1,0,1,'','','','','EndJsDate desc','','','','','',0,'head',0,0,0,0,0,0,0,0,0,1,0,0);
    INSERT INTO dict_ui_obj (id,gmt_create,gmt_modified,create_by,ui_id,modified_by,obj_id,label,is_deletable,is_editable,is_insertable,is_master,is_multi_page,is_save_refresh,is_show,parent_obj,master_key,detail_key,fix_search,default_order,multi_field,multi_msg,tree_field,group_header,remark,page_size,code,p_id,is_force_sync,form_column_span,is_inline_edit,is_show_index_column,is_show_select_column,is_show_action_column,is_grid_auto_save,is_auto_refresh,is_show_grid_toolbar,is_only_save_current,is_highlight_edit_cell) VALUES(986988330145021952,TIMESTAMP '2022-06-16 13:39:16',TIMESTAMP '2023-04-17 15:03:29',90000000061,986982226564481024,90000000062,986986078722326528,'业务单据',0,0,0,0,0,0,1,'head','BillNo','BillNo','','','','','','','',0,'body',0,0,0,0,0,0,0,0,0,1,0,0);
    INSERT INTO dict_ui_obj (id,gmt_create,gmt_modified,create_by,ui_id,modified_by,obj_id,label,is_deletable,is_editable,is_insertable,is_master,is_multi_page,is_save_refresh,is_show,parent_obj,master_key,detail_key,fix_search,default_order,multi_field,multi_msg,tree_field,group_header,remark,page_size,code,p_id,is_force_sync,form_column_span,is_inline_edit,is_show_index_column,is_show_select_column,is_show_action_column,is_grid_auto_save,is_auto_refresh,is_show_grid_toolbar,is_only_save_current,is_highlight_edit_cell) VALUES(986998709365506048,TIMESTAMP '2022-06-16 14:20:30',TIMESTAMP '2023-04-17 15:03:29',90000000061,986982226564481024,90000000062,986998103074668544,'扣项明细',0,0,0,0,0,0,1,'head','BillNo','BillNo','','','','','','','',0,'kx',0,0,0,0,0,0,0,0,0,1,0,0);
    INSERT INTO dict_ui_obj (id,gmt_create,gmt_modified,create_by,ui_id,modified_by,obj_id,label,is_deletable,is_editable,is_insertable,is_master,is_multi_page,is_save_refresh,is_show,parent_obj,master_key,detail_key,fix_search,default_order,multi_field,multi_msg,tree_field,group_header,remark,page_size,code,p_id,is_force_sync,form_column_span,is_inline_edit,is_show_index_column,is_show_select_column,is_show_action_column,is_grid_auto_save,is_auto_refresh,is_show_grid_toolbar,is_only_save_current,is_highlight_edit_cell) VALUES(987006871086825472,TIMESTAMP '2022-06-16 14:52:56',TIMESTAMP '2023-04-17 15:03:29',90000000061,986982226564481024,90000000062,987004820260913152,'分税率明细',0,0,0,0,0,0,1,'head','BillNo','BillNo','','','','','','','',0,'tax',0,0,0,0,0,0,0,0,0,1,0,0);
    DELETE FROM dict_ui_action WHERE ui_id=986982226564481024;
    INSERT INTO dict_ui_action (id,gmt_create,gmt_modified,create_by,modified_by,ui_id,caption,code,action_style,icon,seq_no,is_only_icon,is_hidden,p_id,disp_rule,obj_code,hint,href,parent_code) VALUES(1682414914000037,TIMESTAMP '2023-04-25 17:28:34',TIMESTAMP '2023-04-25 17:28:34',9999,9999,986982226564481024,'打印','print','','',0,0,0,0,0,'',0,'','');
    INSERT INTO dict_ui_action (id,gmt_create,gmt_modified,create_by,modified_by,ui_id,caption,code,action_style,icon,seq_no,is_only_icon,is_hidden,p_id,disp_rule,obj_code,hint,href,parent_code) VALUES(1682414914000038,TIMESTAMP '2023-04-25 17:28:34',TIMESTAMP '2023-04-25 17:28:34',9999,9999,986982226564481024,'打印设置','printSet','','',0,0,0,0,0,'',0,'','');
    INSERT INTO dict_ui_action (id,gmt_create,gmt_modified,create_by,modified_by,ui_id,caption,code,action_style,icon,seq_no,is_only_icon,is_hidden,p_id,disp_rule,obj_code,hint,href,parent_code) VALUES(986988330149216256,TIMESTAMP '2022-06-16 13:39:16',TIMESTAMP '2022-06-16 13:39:16',90000000061,90000000061,986982226564481024,'明细','detail','','',6,0,0,0,1,'',0,'','');
    INSERT INTO dict_ui_action (id,gmt_create,gmt_modified,create_by,modified_by,ui_id,caption,code,action_style,icon,seq_no,is_only_icon,is_hidden,p_id,disp_rule,obj_code,hint,href,parent_code) VALUES(986988330149216257,TIMESTAMP '2022-06-16 13:39:16',TIMESTAMP '2024-01-24 12:24:04',90000000061,90000000062,986982226564481024,'开发票','apply','','',7,0,1,0,0,'tax',0,'','');
    INSERT INTO dict_ui_action (id,gmt_create,gmt_modified,create_by,modified_by,ui_id,caption,code,action_style,icon,seq_no,is_only_icon,is_hidden,p_id,disp_rule,obj_code,hint,href,parent_code) VALUES(997093120527040512,TIMESTAMP '2022-07-14 10:52:05',TIMESTAMP '2022-07-14 10:52:05',90000000062,90000000062,986982226564481024,'确认','confirm','','',8,0,0,0,0,'',0,'','');
    INSERT INTO dict_ui_action (id,gmt_create,gmt_modified,create_by,modified_by,ui_id,caption,code,action_style,icon,seq_no,is_only_icon,is_hidden,p_id,disp_rule,obj_code,hint,href,parent_code) VALUES(1083093910059741184,TIMESTAMP '2023-03-08 18:28:31',TIMESTAMP '2024-01-24 12:24:04',90000000062,90000000062,986982226564481024,'查看开票记录','viewfp','','',9,0,1,0,0,'',0,'','');
    COMMIT;
END;
 $$;