BEGIN
    BEGIN TRAN;
    DELETE FROM sys_menu WHERE id=1138058568298131456;
    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(1138058568298131456,'2023-08-07 10:38:27.000','2023-10-30 11:06:52.000','0','0','R00912','库存初始化','','/stockinit','',0,'',13,1090627192267730944,':R009:R00912',1,0,1138057657576321024);
    DELETE FROM dict_ui WHERE id=1138057657576321024;
    INSERT INTO dict_ui (id,gmt_create,gmt_modified,create_by,modified_by,code,name,backend_component,frontend_component,remark,perms,src_path) VALUES(1138057657576321024,'2023-08-07 10:38:27.000','2023-08-07 10:38:27.000',0,0,'TStockInit','库存初始化','TDifferComponent','TDifferVue','','','');
    DELETE FROM dict_ui_obj WHERE ui_id=1138057657576321024;
    INSERT INTO dict_ui_obj (id,gmt_create,gmt_modified,create_by,modified_by,ui_id,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,seq_no) VALUES(1138058568298131457,'2023-08-07 10:38:27.000','2023-10-30 11:06:52.000',0,0,1138057657576321024,1160272891179167744,'库存初始化主表',1,1,1,1,1,0,1,'','','','billtype in (''1'',''2'')','','','','','','',50,'head',0,0,0,0,0,1,1,0,0,1,0,0,1);
    INSERT INTO dict_ui_obj (id,gmt_create,gmt_modified,create_by,modified_by,ui_id,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,seq_no) VALUES(1138058568298131458,'2023-08-07 10:38:27.000','2023-10-08 09:42:26.000',0,0,1138057657576321024,1160277345383215104,'库存初始化明细',1,1,1,0,0,0,1,'head','billno','billno','','','','','','','',0,'body',0,0,0,1,0,0,1,0,0,1,0,0,2);
    DELETE FROM dict_ui_action WHERE ui_id=1138057657576321024;
    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(1138059041914744832,'2023-08-07 10:41:43.000','2023-08-07 10:41:44.000',0,0,1138057657576321024,'增加','add','','',1,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(1138059042086711296,'2023-08-07 10:41:43.000','2023-08-07 10:41:44.000',0,0,1138057657576321024,'编辑','edit','','',2,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(1138059042296426496,'2023-08-07 10:41:43.000','2023-08-07 10:41:44.000',0,0,1138057657576321024,'删除','delete','','',3,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(1138059042531307520,'2023-08-07 10:41:43.000','2023-08-07 10:41:44.000',0,0,1138057657576321024,'保存','save','','',4,0,0,0,2,'',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(1138059042761994240,'2023-08-07 10:41:43.000','2023-08-07 10:41:44.000',0,0,1138057657576321024,'取消','cancel','','',5,0,0,0,2,'',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(1138059043047206912,'2023-08-07 10:41:43.000','2023-08-07 10:41:44.000',0,0,1138057657576321024,'明细','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(1138059043307253760,'2023-08-07 10:41:43.000','2023-08-08 09:57:22.000',0,0,1138057657576321024,'打印','print','','',9,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(1138059043621826560,'2023-08-07 10:41:43.000','2023-08-08 09:57:22.000',0,0,1138057657576321024,'打印设置','printSet','','',10,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(1138410453144170496,'2023-08-08 09:57:21.000','2023-08-08 09:57:23.000',0,0,1138057657576321024,'提交','submit','','',7,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(1138410513772834816,'2023-08-08 09:57:21.000','2023-08-08 09:57:23.000',0,0,1138057657576321024,'审核','check','','',8,0,0,0,0,'',0,'','');
    COMMIT;
END;