|
|
|
@ -21,10 +21,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
|
|
select role_id, role_name, role_key, role_sort, status, create_time, remark from sys_role
|
|
|
|
|
<where>
|
|
|
|
|
<if test="roleName != null and roleName != ''">
|
|
|
|
|
AND role_name like concat(concat('%', #{roleName}), '%')
|
|
|
|
|
AND role_name like concat('%', #{roleName}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="roleKey != null and roleKey != ''">
|
|
|
|
|
AND role_key like concat(concat('%', #{roleKey}), '%')
|
|
|
|
|
AND role_key like concat('%', #{roleKey}, '%')
|
|
|
|
|
</if>
|
|
|
|
|
<if test="status != null and status != ''">
|
|
|
|
|
AND status = #{status}
|
|
|
|
|