22:24:27 DEBUG [http-nio-8080-exec-5] com.imooc.reader.mapper.MemberReadStateMapper.updateById[30] - ==> Preparing: UPDATE member_read_state SET rs_id=?, book_id=?, member_id=?, read_state=?, create_time=? WHERE null=?
22:24:27 DEBUG [http-nio-8080-exec-5] org.mybatis.spring.SqlSessionUtils[30] - Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1b9403f1]
22:24:27 DEBUG [http-nio-8080-exec-5] org.mybatis.spring.SqlSessionUtils[30] - Transaction synchronization deregistering SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1b9403f1]
22:24:27 DEBUG [http-nio-8080-exec-5] org.mybatis.spring.SqlSessionUtils[30] - Transaction synchronization closing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@1b9403f1]
22:24:27 DEBUG [http-nio-8080-exec-5] org.springframework.jdbc.datasource.DataSourceTransactionManager[30] - Should roll back transaction but cannot - no transaction available
22:24:27 DEBUG [http-nio-8080-exec-5] org.springframework.web.servlet.DispatcherServlet[30] - Failed to complete request: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'null' in 'class com.imooc.reader.entity.MemberReadState'
22:24:27 DEBUG [http-nio-8080-exec-5] org.springframework.web.servlet.DispatcherServlet[30] - Failed to complete request: org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.reflection.ReflectionException: There is no getter for property named 'null' in 'class com.imooc.reader.entity.MemberReadState'
报错提示在实体类出现问题
结果排查源于缺少@TableId(type=IdType.AUTO)