Mybatis中的@Param-There is no getter for property named 'id' in 'class java.lang.String'

@parame是mybatis提供的注解(org.apache.ibatis.annotations.Param) 记录在开发中用到一个问题: 1.情景一: 当我们的Mapper的接口是这样写的时候: ApiCategoryInfo getInterfaceById(String id); 第一种:在mapper.xml文件中是这样写的话: select * from api_category_i
相关文章
相关标签/搜索