feat: 包结构调整,整合ip2region解析ip的所在区域
This commit is contained in:
BIN
src/main/resources/data/ip2region.xdb
Normal file
BIN
src/main/resources/data/ip2region.xdb
Normal file
Binary file not shown.
@@ -48,7 +48,7 @@
|
||||
LEFT JOIN sys_role_menu t2 ON t1.id = t2.menu_id
|
||||
LEFT JOIN sys_role t3 ON t2.role_id = t3.id
|
||||
WHERE
|
||||
t1.type != '${@com.youlai.system.common.enums.MenuTypeEnum@BUTTON.getValue()}'
|
||||
t1.type != '${@com.youlai.system.enums.MenuTypeEnum@BUTTON.getValue()}'
|
||||
ORDER BY
|
||||
t1.sort
|
||||
</select>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
INNER JOIN sys_role t2 ON t1.role_id = t2.id AND t2.is_deleted = 0 AND t2.`status` = 1
|
||||
INNER JOIN sys_menu t3 ON t1.menu_id = t3.id
|
||||
WHERE
|
||||
type = '${@com.youlai.system.common.enums.MenuTypeEnum@BUTTON.getValue()}'
|
||||
type = '${@com.youlai.system.enums.MenuTypeEnum@BUTTON.getValue()}'
|
||||
<if test="roleCode!=null and roleCode.trim() neq ''">
|
||||
AND t2.`code` = #{roleCode}
|
||||
</if>
|
||||
@@ -48,7 +48,7 @@
|
||||
INNER JOIN sys_menu t2 ON t2.id = t1.menu_id
|
||||
INNER JOIN sys_role t3 ON t3.id = t1.role_id
|
||||
WHERE
|
||||
t2.type = '${@com.youlai.system.common.enums.MenuTypeEnum@BUTTON.getValue()}'
|
||||
t2.type = '${@com.youlai.system.enums.MenuTypeEnum@BUTTON.getValue()}'
|
||||
AND t2.perm IS NOT NULL
|
||||
AND t3.CODE IN
|
||||
<foreach collection="roles" item="role" separator="," open="(" close=")">
|
||||
|
||||
Reference in New Issue
Block a user