当有多个参数时必须在Dao层中加入@Param,否则可能会一直报找不到某个参数:
org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.binding.BindingException: Parameter 'schoolYear' not found. Available parameters are [3, 2, 1, 0, param1, param2, param3, param4]
List<RiskEvaQuestion> getBySuiteId(Long suiteId);
List<RiskEvaQuestion> getPageBySuiteId(@Param("suiteId")Long suiteId,@Param("firstResult") int firstResult,@Param("lastResult") int lastResult);