Checkopoint added hql
This commit is contained in:
buisnesslogic/src
main
java
com
plannaplan
test
java
com
plannaplan
repositories
restservice/src/main/java/com/plannaplan/controllers
@ -26,8 +26,7 @@ public class GroupService {
|
||||
}
|
||||
|
||||
public Groups save(Groups group) {
|
||||
this.repo.save(group);
|
||||
return group;
|
||||
return this.repo.save(group);
|
||||
}
|
||||
|
||||
public void delete(Groups groups) {
|
||||
@ -51,4 +50,9 @@ public class GroupService {
|
||||
return Optional.empty();
|
||||
|
||||
}
|
||||
|
||||
public int getAssignedAmount(Long groupId) {
|
||||
this.repo.getAssignedAmount(groupId);
|
||||
return 0;
|
||||
}
|
||||
}
|
@ -31,8 +31,8 @@ public class UserService {
|
||||
return token;
|
||||
}
|
||||
|
||||
public void save(User user) {
|
||||
this.repo.save(user);
|
||||
public User save(User user) {
|
||||
return this.repo.save(user);
|
||||
}
|
||||
|
||||
public User getUserByEmail(String email) throws UserNotFoundException {
|
||||
|
Reference in New Issue
Block a user