Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
d74f8e81
Commit
d74f8e81
authored
Jul 15, 2020
by
ls1947
Browse files
remove findByIdWithAll from Approval class
parent
d0c83c3d
Changes
1
Hide whitespace changes
Inline
Side-by-side
bwreg-service/src/main/java/edu/kit/scc/webreg/service/reg/impl/ApprovalServiceImpl.java
View file @
d74f8e81
...
...
@@ -148,8 +148,12 @@ public class ApprovalServiceImpl implements ApprovalService {
try
{
/**
* TODO findByIdWithAll is slow. Is it really necessary here?
*/
ServiceEntity
serviceEntity
=
serviceDao
.
findByIdWithServiceProps
(
registry
.
getService
().
getId
());
UserEntity
userEntity
=
userDao
.
findByIdWithAll
(
registry
.
getUser
().
getId
());
//UserEntity userEntity = userDao.findByIdWithAll(registry.getUser().getId());
UserEntity
userEntity
=
userDao
.
findById
(
registry
.
getUser
().
getId
());
ApprovalAuditor
auditor
=
new
ApprovalAuditor
(
auditDao
,
auditDetailDao
,
appConfig
);
auditor
.
startAuditTrail
(
executor
,
true
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment