CREATE OR REPLACE procedure "m_proc"(p_message out NVARCHAR2) AS ... BEGIN ... END;
<select id="refresh" statementType="CALLABLE" parameterType="Map"> {call m_proc(#{p_message, mode=OUT, jdbcType=VARCHAR})} </select>
void refresh(Map<String, Object> map);
Map<String, Object> params = new HashMap<>(); PmdeCrMapper.refresh(params); return params.get("p_message").toString();
mybatis: {call m_proc(#{p_message, mode=OUT, jdbcType=VARCHAR})}
函数调用: return params.get("p_message").toString();