|
@@ -139,10 +139,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<include refid="selectRoleVo"/>
|
|
<include refid="selectRoleVo"/>
|
|
<where>
|
|
<where>
|
|
<if test="roleName != null">
|
|
<if test="roleName != null">
|
|
- r.role_name=#{roleName}
|
|
|
|
|
|
+ AND r.role_name=#{roleName}
|
|
</if>
|
|
</if>
|
|
<if test="companyId != null">
|
|
<if test="companyId != null">
|
|
- r.company_id = #{companyId}
|
|
|
|
|
|
+ AND r.company_id = #{companyId}
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
limit 1
|
|
limit 1
|
|
@@ -152,10 +152,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
<include refid="selectRoleVo"/>
|
|
<include refid="selectRoleVo"/>
|
|
<where>
|
|
<where>
|
|
<if test="roleKey != null">
|
|
<if test="roleKey != null">
|
|
- r.role_key=#{roleKey}
|
|
|
|
|
|
+ AND r.role_key=#{roleKey}
|
|
</if>
|
|
</if>
|
|
<if test="companyId != null">
|
|
<if test="companyId != null">
|
|
- r.company_id = #{companyId}
|
|
|
|
|
|
+ AND r.company_id = #{companyId}
|
|
</if>
|
|
</if>
|
|
</where>
|
|
</where>
|
|
limit 1
|
|
limit 1
|