chenlu
3 天以前 6db03250bcbf51193b8dd71a698ea2b202c6d6ad
north-glass-erp/src/main/resources/mapper/userInfo/PermissionRoleMapper.xml
@@ -38,15 +38,14 @@
                           on b.id = c.role_id
                 left join permission_basic d
                           on  d.id = c.permission_id
                           and d.permission='edit'
        where a.id = #{loginId}
        where a.id = #{loginId} and
        </if>
        <if test="userIsAdmin==true">
            from permission_basic d
            where d.permission='edit'
            where
        </if>
            and d.state = 1
             d.state = 1
        group by  d.id
    </select>