mybaits调用存储过程getdemosp,mode=IN代表传入的参数
<select id="Getdemosp" resultType="com.sinochem.it.mainmodule.domain.project.demoentity">
{call getdemosp(
#{param1,mode=IN,jdbcType=VARCHAR},
#{param2,mode=IN,jdbcType=VARCHAR}
)}
</select>
resultType对应返回的存储过程的字段类型
接收mybatis数据
demoentity Getdemosp(@Param("param1") String param1, @Param("param2") String param2);