Open wangchong33333 opened 6 years ago
报错java.lang.IllegalArgumentException: Mapped Statements collection already contains value for ...selectByExample 使用MyBatis3Simple没有问题,springboot不能使用MyBatis3吗
不是不能用。
是你用这种方式生成了 selectByExample 一类的方法,这些方法在通用 Mapper 已经提供了。
selectByExample
报错java.lang.IllegalArgumentException: Mapped Statements collection already contains value for ...selectByExample 使用MyBatis3Simple没有问题,springboot不能使用MyBatis3吗