Browse Source

进入网格时查询当前用户的所有角色

master
wangchao 5 years ago
parent
commit
249115f6a3
  1. 2
      epmet-user/epmet-user-server/src/main/resources/mapper/UserRoleDao.xml

2
epmet-user/epmet-user-server/src/main/resources/mapper/UserRoleDao.xml

@ -37,7 +37,7 @@
<if test='null != gridId and "" != gridId'>
AND( ur.GRID_ID = #{gridId} OR ur.GRID_ID = 'all' )
</if>
<if test='gridId == null or gridId = ""'>
<if test='null == gridId or "" == gridId'>
AND ur.GRID_ID = 'all'
</if>
</where>

Loading…
Cancel
Save