Mybatis Plus 执行sql server 存储过程
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>