09 2022 档案
摘要:报错信息 The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)". 报错原因ResoutMap参数顺序不匹配 ass
阅读全文
摘要:报错信息展示 报错时的mapper.xml 修改后的mapper.xml 踩坑原因分析 resultmap在映射的时候 是会把 多张表中相同的字段名当成同一个对象来看待 比如上文中的c.id和u.id resultmap在映射的时候会把两者都当成id 而不是一个当成c.id另一个当成s.id 来区分
阅读全文