Mybatis使用Map代替Entity封装数据
8月 21, 2014 |
Nix.Huang
有时我们厌倦了写entity来封装从数据库查询出来的记录,比如一个关联查询,我们不想为这个查询写一个entit […more]
有时我们厌倦了写entity来封装从数据库查询出来的记录,比如一个关联查询,我们不想为这个查询写一个entit […more]
select * from student t order by #{orderString} 传值如下:or […more]
今天写了一个类似这样的SQL SELECT CONCAT(id,’||’, type) as dataId 在 […more]