当前使用版本(必填,否则不予处理)

3.5.2

该问题是如何引起的?(确定最新版也有问题再提!!!)

当字段名长度为1的时候会字符串数组越界

重现步骤(如果有就写完整)

报错信息

Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1967) at com.baomidou.mybatisplus.core.toolkit.StringUtils.getTargetColumn(StringUtils.java:140) at com.baomidou.mybatisplus.core.metadata.TableInfoHelper.checkRelated(TableInfoHelper.java:478)

Comment From: miemieYaho

比如呢?

Comment From: xiaopeidesubaozi

MyBatis-Plus 当字段名长度为1的时候会字符串数组越界

Comment From: miemieYaho

不支持非正经字段名