Dao层
int instertUserWeight(@Param("_uid") Integer uid,@Param("_gid") Integer gid,@Param("_count") Long count,@Param("_result") Integer result);
Mapping层
<select id="instertUserWeight" parameterType="map" statementType="CALLABLE" resultMap="BaseResultMap">
{CALL proc_BetWeightSave(
#{_uid,mode=IN,jdbcType=INTEGER},
#{_gid,mode=IN,jdbcType=INTEGER},
#{_count,mode=IN,jdbcType=BIGINT},
#{_result,mode=OUT,jdbcType=INTEGER}
)}
</select>
存储过程
运行结果是2
可是我用mybatis调用的时候拿到的是null
attempted to return null from a method with a primitive return type (int).
** 求帮助**