mysql存储过程是这样的
create procedure sp_get_user_count
(
 out v_count int
)
begin
 select count(1) into v_count from t_user;
 select * from t_dept;
 select * from t_class;
end;
由于mysql不能返回游标,那么使用mybatis框架在取的时候应该怎么取呢?怎样确定取出来的是t_dept的还是t_class?
<!--这段应改怎么写啊?-->
<select id="selectAll" >
        call sp_get_user_count()
</select>