`
xiaohuxiaoyu
  • 浏览: 1223 次
  • 性别: Icon_minigender_1
  • 来自: 苏州
文章分类
社区版块
存档分类
最新评论
文章列表
public interface PersonMapper { @Select("select * from person where id=#{id} and name=#{name}") public Person getById(@Param("id") int id, @Param("name") String name); } 很多网上介绍的只有一个查询条件,所以无论你的查询条件的参数名是什么,它都自动匹配,比如:@Select("select * from person where id=#{id})查询条件只 ...
Global site tag (gtag.js) - Google Analytics