mybatis 调用存储过程

<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 为输出

posted on 2016-12-15 16:11  小鱼儿灬  阅读(256)  评论(0编辑  收藏  举报

导航