org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.executor.ExecutorException: No constructor found in com.***** matching [java.lang.Long, java.lang.String, java.lang.Long, java.sql.Timestamp, java.sql.Timestamp, java.sql.Timestamp, java.lang.Integer]
这个问题看起来是 mybatis-plus 的类型转换问题,因为在对应的entity 中的时间类型是 LocalDateTime其实是。
其实这个是因为对应的entity 中缺少无参的构造函数,org.apache.ibatis.executor.resultset.DefaultResultSetHandler.createByConstructorSignature
中,entity中如果有了其他有参的constructor ,这个就
只需添加无参的构造参数即可。