|
|
|
@ -191,7 +191,7 @@ public class TenantRepo { |
|
|
|
getEntitySet(entityType).add(entityData); |
|
|
|
} |
|
|
|
|
|
|
|
UUID newCustomerId = fields.getCustomerId(); |
|
|
|
UUID newCustomerId = CustomerId.NULL_UUID.equals(fields.getCustomerId()) ? null : fields.getCustomerId(); |
|
|
|
UUID oldCustomerId = entityData.getCustomerId(); |
|
|
|
entityData.setCustomerId(newCustomerId); |
|
|
|
if (entityIdMismatch(oldCustomerId, newCustomerId)) { |
|
|
|
|