
-- 初始化菜单
INSERT INTO sys_menu (pid, name, url, authority, type, open_style, icon, sort, version, deleted, creator, create_time, updater, update_time) VALUES (1, '购物车管理', 'maku/t_shopping_trolley/index', NULL, 0, 0, 'icon-menu', 0, 0, 0, 10000, now(), 10000, now());

SELECT max(id) from sys_menu where name = '书籍订单表';

INSERT INTO sys_menu (pid, name, url, authority, type, open_style, icon, sort, version, deleted, creator, create_time, updater, update_time) VALUES (66, '查看', '', 'maku:t_shopping_trolley:page', 1, 0, '', 0, 0, 0, 10000, now(), 10000, now());
INSERT INTO sys_menu (pid, name, url, authority, type, open_style, icon, sort, version, deleted, creator, create_time, updater, update_time) VALUES (66, '新增', '', 'maku:t_shopping_trolley:save', 1, 0, '', 1, 0, 0, 10000, now(), 10000, now());
INSERT INTO sys_menu (pid, name, url, authority, type, open_style, icon, sort, version, deleted, creator, create_time, updater, update_time) VALUES (66, '修改', '', 'maku:t_shopping_trolley:update,maku:t_shopping_trolley:info', 1, 0, '', 2, 0, 0, 10000, now(), 10000, now());
INSERT INTO sys_menu (pid, name, url, authority, type, open_style, icon, sort, version, deleted, creator, create_time, updater, update_time) VALUES (66, '删除', '', 'maku:t_shopping_trolley:delete', 1, 0, '', 3, 0, 0, 10000, now(), 10000, now());
