commit | author | age
|
9bcb19
|
1 |
-- ---------------------------- |
I |
2 |
-- Records of sys_menu |
|
3 |
-- ---------------------------- |
|
4 |
#foreach ($id in $sqlMenuId) |
|
5 |
#if($foreach.count == 1) |
|
6 |
INSERT INTO `sys_menu` VALUES |
|
7 |
('$id', '0', '${menuPids}', '${functionName}', '${busName}_index', '1', null, '/${className}', 'main/${busName}/index', null, '${appCode}', '1', 'Y', null, null, '1', '100', null, '0', null, null, null, null); |
|
8 |
#set ($pid=$id) |
|
9 |
|
|
10 |
#elseif($foreach.count == 2) |
|
11 |
INSERT INTO `sys_menu` VALUES |
|
12 |
('$id', '$pid', '${menuPids}[$pid],', '${functionName}查询', '${busName}_index_page', '2', null, null, null, '${className}:page', '${appCode}', '0', 'Y', null, null, '1', '100', null, '0', null, null, null, null); |
|
13 |
|
|
14 |
#elseif($foreach.count == 3) |
|
15 |
INSERT INTO `sys_menu` VALUES |
|
16 |
('$id', '$pid', '${menuPids}[$pid],', '${functionName}新增', '${busName}_index_add', '2', null, null, null, '${className}:add', '${appCode}', '0', 'Y', null, null, '1', '100', null, '0', null, null, null, null); |
|
17 |
|
|
18 |
#elseif($foreach.count == 4) |
|
19 |
INSERT INTO `sys_menu` VALUES |
|
20 |
('$id', '$pid', '${menuPids}[$pid],', '${functionName}编辑', '${busName}_index_edit', '2', null, null, null, '${className}:edit', '${appCode}', '0', 'Y', null, null, '1', '100', null, '0', null, null, null, null); |
|
21 |
|
|
22 |
#elseif($foreach.count == 5) |
|
23 |
INSERT INTO `sys_menu` VALUES |
|
24 |
('$id', '$pid', '${menuPids}[$pid],', '${functionName}删除', '${busName}_index_delete', '2', null, null, null, '${className}:delete', '${appCode}', '0', 'Y', null, null, '1', '100', null, '0', null, null, null, null); |
|
25 |
|
|
26 |
#elseif($foreach.count == 6) |
|
27 |
INSERT INTO `sys_menu` VALUES |
|
28 |
('$id', '$pid', '${menuPids}[$pid],', '${functionName}查看', '${busName}_index_detail', '2', null, null, null, '${className}:detail', '${appCode}', '0', 'Y', null, null, '1', '100', null, '0', null, null, null, null); |
|
29 |
|
|
30 |
#elseif($foreach.count == 7) |
|
31 |
INSERT INTO `sys_menu` VALUES |
|
32 |
('$id', '$pid', '${menuPids}[$pid],', '${functionName}列表', '${busName}_index_list', '2', null, null, null, '${className}:list', '${appCode}', '0', 'Y', null, null, '1', '100', null, '0', null, null, null, null); |
|
33 |
|
|
34 |
#elseif($foreach.count == 8) |
|
35 |
INSERT INTO `sys_menu` VALUES |
|
36 |
('$id', '$pid', '${menuPids}[$pid],', '${functionName}导出', '${busName}_index_export', '2', null, null, null, '${className}:export', '${appCode}', '0', 'Y', null, null, '1', '100', null, '0', null, null, null, null); |
|
37 |
#end |
|
38 |
#end |