Mapper.java
String getRealName(String userName);
多租户模式下,需要加注解 @InterceptorIgnore(tenantLine = "true")
@InterceptorIgnore(tenantLine = "true")
String getRealName(String userName);
Mapper.xml
<select id="getRealName" resultType="java.lang.String" statementType="CALLABLE">
{CALL getUserName(#{userName, mode=IN,jdbcType=VARCHAR})}
</select>
标签:userName,Mapper,String,InterceptorIgnore,server,getRealName,Plus,sql,Mybatis
From: https://www.cnblogs.com/marchxd/p/17026759.html