--------------------------------------eg 1------------------------------------
resultType="string">
select sf_id from sys_role_function where sr_id = #{srId}
返回string类型,可以用List findSysRoleFunctionById(String srId);
list来接收
----------------------------------------------eg 2------------------------------------
select * from sys_role where sr_id = #{srId}
SysRoleVOfindSysRoleById(String srId); 用对象接收或者List接收均可