Column 'XXX' in where clause is ambiguous

  一般出现这种情况都是在mybatis中多表关联查询的时候没有指定表别名引起的,比如2张表都有同名的一个字段,而在where查询的时候没有指明是哪张表的字段,所以只需要指定表名即可

猜你喜欢

转载自blog.csdn.net/u014508939/article/details/79444616