顺序问题:在resultmap中,result必须在association之前。否则会报错
只查出一条记录的问题 :重名的id,要起别名。而且不能忽略。
http://blog.csdn.net/aitcax/article/details/44337271