Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deploy: 할당되는 콜백 더미 데이터에 각각 callbackRepository.save(callback{id}); 추가 #117

Merged
merged 1 commit into from
Oct 28, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -305,18 +305,21 @@ protected void initial() {
Callback callback1 = callbackRepository.save(new Callback(Callback.Status.WAITING, senior1));
callback1.assignMember(1L);
callback1.changeStatusToInProgress();
callbackRepository.save(callback1);

callbackRepository.save(new Callback(Callback.Status.COMPLETE, senior2));
callbackRepository.save(new Callback(Callback.Status.COMPLETE, senior2));
Callback callback2 = callbackRepository.save(new Callback(Callback.Status.WAITING, senior2));
callback2.assignMember(2L);
callback2.changeStatusToInProgress();
callbackRepository.save(callback2);

callbackRepository.save(new Callback(Callback.Status.COMPLETE, senior3));
callbackRepository.save(new Callback(Callback.Status.COMPLETE, senior3));
Callback callback3 = callbackRepository.save(new Callback(Callback.Status.WAITING, senior3));
callback3.assignMember(3L);
callback3.changeStatusToInProgress();
callbackRepository.save(callback3);

callbackRepository.save(new Callback(Callback.Status.COMPLETE, senior4));
callbackRepository.save(new Callback(Callback.Status.COMPLETE, senior4));
Expand Down