public interface UserDoMapper {
int insert(UserDo record);
int insertSelective(UserDo record);
}在节点jdbcConnection里配置useInformationSchema属性,解决了不识别主键问题
具体代码
connectionURL="jdbc:mysql://localhost:3306/test1?serverTimezone=GMT&useInformationSchema=true"