|
|
@@ -201,9 +201,9 @@
|
|
|
from admin a
|
|
|
left join user_role b on a.id = b.uid
|
|
|
left join role c on b.rid = c.id
|
|
|
- where mobile = #{mobile,jdbcType=VARCHAR}
|
|
|
+ where mobile =#{0}
|
|
|
<if test="roleName !=null">
|
|
|
- and #{roleName,jdbcType=VARCHAR}=c.role_name
|
|
|
+ and #{1}=c.role_name
|
|
|
</if>
|
|
|
</select>
|
|
|
|