Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
rudeh2926 committed Oct 8, 2024
2 parents 8c1cc5c + 4f9447a commit eddb651
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@ class ChangeApplicationStatusService(
saveApplicationPort.saveAll(updateApplicationList)
applicationStorySaveAllPort.saveAll(applicationStory)
saveAttendancePort.saveAll(attendance)
// eventPublisher.publishEvent(ChangeStatusRequest(this, updateApplicationList.map { it.userId }))
eventPublisher.publishEvent(ChangeStatusRequest(this, updateApplicationList.map { it.userId }))
}

private fun handleStatusNo(idList: List<UUID>) {
// eventPublisher.publishEvent(ChangeStatusRequest(this, idList))
eventPublisher.publishEvent(ChangeStatusRequest(this, idList))
idList.forEach { id ->
val application = findApplicationById(id)
deleteApplicationPort.deleteByIdAndApplicationKind(application.id!!, ApplicationKind.APPLICATION)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,11 +62,11 @@ class ChangeEarlyReturnStatusService(
saveApplicationPort.saveAll(updateEarlyReturnList)
applicationStorySaveAllPort.saveAll(applicationStory)
saveAttendancePort.saveAll(attendances)
// eventPublisher.publishEvent(ChangeStatusRequest(this, updateEarlyReturnList.map { it.userId }))
eventPublisher.publishEvent(ChangeStatusRequest(this, updateEarlyReturnList.map { it.userId }))
}

private fun handleStatusNo(idList: List<UUID>) {
// eventPublisher.publishEvent(ChangeStatusRequest(this, idList))
eventPublisher.publishEvent(ChangeStatusRequest(this, idList))
idList.forEach { id ->
deleteApplicationPort.deleteByIdAndApplicationKind(id, ApplicationKind.EARLY_RETURN)
}
Expand Down

0 comments on commit eddb651

Please sign in to comment.