各位大神,小弟刚学mybatis,在写session.selectOne(sta,1)一直报错,
The method selectOne(String, Object) in the type SqlSession is not applicable for the arguments (String, int)
“1”应该也是Object类型的啊,怎么会报错呢。
The method selectOne(String, Object) in the type SqlSession is not applicable for the arguments (String, int)
“1”应该也是Object类型的啊,怎么会报错呢。
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货