a
This commit is contained in:
@@ -137,7 +137,8 @@ public class EventService {
|
||||
@Autowired
|
||||
UserAccountRepository userAccountRepository;
|
||||
|
||||
public Optional<Event> settle(@Valid Event event) {
|
||||
public Optional<Event> settle(@Valid Event eventFromUI) {
|
||||
Event event = eventRepository.getReferenceById(eventFromUI.getId());
|
||||
Long eventId = event.getId();
|
||||
List<Transaction> allTransactions = transactionRepository
|
||||
.findAllByEventId(eventId)
|
||||
@@ -301,4 +302,7 @@ public class EventService {
|
||||
|
||||
@Autowired
|
||||
TransactionItemRepository transactionItemRepository;
|
||||
|
||||
@Autowired
|
||||
RegistrationRepository registrationRepository;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user