Checkopoint added hql
This commit is contained in:
@ -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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user