<select id="selectGenCodeBySql" parameterType="hashmap" statementType="CALLABLE">
<![CDATA[
call proc_GenerateID (#{type,jdbcType=VARCHAR,mode=IN}, 5 , #{result,jdbcType=VARCHAR,mode=OUT});
]]>
</select>
type 为输入
result 为输出
<select id="selectGenCodeBySql" parameterType="hashmap" statementType="CALLABLE">
<![CDATA[
call proc_GenerateID (#{type,jdbcType=VARCHAR,mode=IN}, 5 , #{result,jdbcType=VARCHAR,mode=OUT});
]]>
</select>
type 为输入
result 为输出