|
|
|
@@ -222,16 +222,20 @@ public class ShardingSpherePlugin implements MyBatisPlus { |
|
|
|
if (null == column) { |
|
|
|
throw new RuntimeException("table sharinding error column is null"); |
|
|
|
} |
|
|
|
String[] field = column.split("_"); |
|
|
|
String fieldName = ""; |
|
|
|
if (null != field && field.length > 0) { |
|
|
|
for (String f : field) { |
|
|
|
fieldName = fieldName + f.substring(0,1).toUpperCase()+f.substring(1); |
|
|
|
try { |
|
|
|
String[] field = column.split("_"); |
|
|
|
String fieldName = ""; |
|
|
|
if (null != field && field.length > 0) { |
|
|
|
for (String f : field) { |
|
|
|
fieldName = fieldName + f.substring(0,1).toUpperCase()+f.substring(1); |
|
|
|
} |
|
|
|
}else { |
|
|
|
fieldName = column.substring(0,1).toUpperCase()+column.substring(1); |
|
|
|
} |
|
|
|
}else { |
|
|
|
fieldName = column.substring(0,1).toUpperCase()+column.substring(1); |
|
|
|
} |
|
|
|
return fieldName; |
|
|
|
return fieldName; |
|
|
|
}catch(Exception e) { |
|
|
|
throw new RuntimeException(e); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
private boolean isBasicTypeValue(Object parameterObject) { |
|
|
|
|