|
@ -70,12 +70,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" |
|
|
|
|
|
|
|
|
<select id="checkRoleNameUnique" parameterType="String" resultMap="SysRoleResult"> |
|
|
<select id="checkRoleNameUnique" parameterType="String" resultMap="SysRoleResult"> |
|
|
<include refid="selectRoleVo"/> |
|
|
<include refid="selectRoleVo"/> |
|
|
where r.role_name=#{roleName} limit 1 |
|
|
where r.role_name=#{roleName} and r.del_flag = '0' limit 1 |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="checkRoleKeyUnique" parameterType="String" resultMap="SysRoleResult"> |
|
|
<select id="checkRoleKeyUnique" parameterType="String" resultMap="SysRoleResult"> |
|
|
<include refid="selectRoleVo"/> |
|
|
<include refid="selectRoleVo"/> |
|
|
where r.role_key=#{roleKey} limit 1 |
|
|
where r.role_key=#{roleKey} and r.del_flag = '0' limit 1 |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="selectRoleListByRoleIds" parameterType="String" resultMap="SysRoleResult"> |
|
|
<select id="selectRoleListByRoleIds" parameterType="String" resultMap="SysRoleResult"> |
|
|