fix: 精简模式插入excel数据出错:/

This commit is contained in:
taojinlong 2023-05-22 17:06:47 +08:00
parent 8fc65f7f19
commit 85b66a1f13

View File

@ -39,8 +39,11 @@ public class MysqlDDLProvider extends DDLProviderImpl {
for (int i = 0; i < strings.length; i++) {
if (StringUtils.isEmpty(strings[i])) {
strings1[i] = null;
} else {
strings1[i] = strings[i].replace("'", "\\'");
continue;
}
strings1[i] = strings[i].replace("'", "\\'");
if(strings1[i].equals("/")){
strings1[i] = "//";
}
}
values.append("('").append(UUID.randomUUID())