通用mapper中selectByExample,selectByPrimaryKey和select的区别
摘要:1 selectByExample几乎可以解决所有的查询,select和selectByPrimary是简化的针对特定情况的解决方法 2 以主键为条件进行查询, selectByExample的代码如下: Example example = new Example(Stock.class); exa
阅读全文
posted @
2018-11-30 17:18
supress_Elon_Musk
阅读(39746)
推荐(1) 编辑