Finish FixInsertCharacter
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
All checks were successful
IntegryManagementSystem_Multi/pipeline/head This commit looks good
This commit is contained in:
@@ -1946,6 +1946,10 @@ public abstract class EntityBase implements Serializable, Cloneable, EntityInter
|
||||
} else {
|
||||
Object finalValue = SqlFieldHolder.getSqlValueFieldAsObject(originalObject == null ? defaultValue : originalObject, sqlField.trimSpaces());
|
||||
|
||||
if (finalValue instanceof Character) {
|
||||
finalValue = finalValue.toString();
|
||||
}
|
||||
|
||||
if (finalValue instanceof String) {
|
||||
if (maxValueLength >= 0 &&
|
||||
!((String) finalValue).equalsIgnoreCase(EmsRestConstants.NULL) &&
|
||||
|
||||
Reference in New Issue
Block a user