错误信息
- The content of element type "resultMap" must match "(constructor?,id,result,association,collection,discriminator?)".
报错原因ResoutMap参数顺序不匹配
- association 标签与 collection 标签 顺序颠倒了。
ResoutMap标签的参数正确顺序
- constructor?,
- id*,
- result*,
- association*,
- collection*,
- discriminator?