请问部署之前如何去掉在线开发的模块儿?
请问部署之前如何去掉在线开发的模块儿?SysPermissionMapper.xmlqueryByUser查询语句
SELECT * FROM (
SELECT p.*
FROMsys_permission p
WHERE (exists(
select a.id from sys_role_permission a
join sys_role b on a.role_id = b.id
join sys_user_role c on c.role_id = b.id
join sys_user d on d.id = c.user_id
where p.id = a.permission_id AND d.username = #{username,jdbcType=VARCHAR}
)
or (p.url like '%:code' and p.url like '/online%' and p.hidden = 1))
and p.del_flag = 0
<!--update begin Author:lvdandanDate:20200213 for:加入部门权限 -->
UNION
SELECT p.*
FROMsys_permission p
WHERE exists(
select a.id from sys_depart_role_permission a
join sys_depart_role b on a.role_id = b.id
join sys_depart_role_user c on c.drole_id = b.id
join sys_user d on d.id = c.user_id
where p.id = a.permission_id AND d.username = #{username,jdbcType=VARCHAR}
)
and p.del_flag = 0
<!--update end Author:lvdandanDate:20200213 for:加入部门权限 -->
) h order by h.sort_no ASC
页:
[1]