mirror of
https://github.com/dalbodeule/snap-admin.git
synced 2025-06-09 05:48:20 +00:00
Formatting
This commit is contained in:
parent
3ee6497d09
commit
7333db3f04
@ -461,10 +461,10 @@ public class DefaultDbAdminController {
|
|||||||
saveAction(new UserAction(schema.getTableName(), pkValue, "EDIT", schema.getClassName()));
|
saveAction(new UserAction(schema.getTableName(), pkValue, "EDIT", schema.getClassName()));
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Object newPrimaryKey = repository.create(schema, params, files, pkValue);
|
Object newPrimaryKey = repository.create(schema, params, files, pkValue);
|
||||||
repository.attachManyToMany(schema, newPrimaryKey, multiValuedParams);
|
repository.attachManyToMany(schema, newPrimaryKey, multiValuedParams);
|
||||||
attr.addFlashAttribute("message", "Item created successfully");
|
attr.addFlashAttribute("message", "Item created successfully");
|
||||||
saveAction(new UserAction(schema.getTableName(), pkValue, "CREATE", schema.getClassName()));
|
saveAction(new UserAction(schema.getTableName(), pkValue, "CREATE", schema.getClassName()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} catch (DataIntegrityViolationException | UncategorizedSQLException | IdentifierGenerationException e) {
|
} catch (DataIntegrityViolationException | UncategorizedSQLException | IdentifierGenerationException e) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user