解决使用MyBatis只传入一个String类型的参数时出现异常

场景再现:java DAO接口方法: public List<Map> findByUserName(String name)throws Exception; sql 当我在xml中写了一个这样的查询语句: spa  <select id="findByUserName" resultType="User"  parameterType="java.lang.String">     selec
相关文章
相关标签/搜索