有很多错误,指出几个一眼就发现的错误
1。public List findAllotTypeList()
{
return getSqlMapClientTemplate().queryForList("getSpList",null);
}
如果不传参数进去,parameterMap="get_result" 是多余的,这就是log里让你--- Check the parameter map. 的原因2。Check the getSpList. 原因是你查出来的字段resultMap未定义,这是很多人犯的错误。
3org.springframework.jdbc.UncategorizedSQLException
可能你存储过程的写法是有问题,先调试一下,再放到ibatis里来
1。public List findAllotTypeList()
{
return getSqlMapClientTemplate().queryForList("getSpList",null);
}
如果不传参数进去,parameterMap="get_result" 是多余的,这就是log里让你--- Check the parameter map. 的原因2。Check the getSpList. 原因是你查出来的字段resultMap未定义,这是很多人犯的错误。
3org.springframework.jdbc.UncategorizedSQLException
可能你存储过程的写法是有问题,先调试一下,再放到ibatis里来
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货