摘要:
left join on 后边的条件只针对副表,如果要筛选主表必须写在where后。 # 问题查不出左表全部数据 select * from a left join b on a.id=b.id where b.name="kk"; # 解决问题 select * from a left join 阅读全文
摘要:
报错信息 The content of element type "resultMap" must match "(constructor?,id*,result*,association*,collection*,discriminator?)". 报错原因ResoutMap参数顺序不匹配 ass 阅读全文