Skip to content

Commit

Permalink
Deploy: 할당되는 콜백 더미 데이터에 각각 callbackRepository.save(callback{id}); 추가 (
Browse files Browse the repository at this point in the history
#117)

chore: 할당되는 콜백 더미 데이터에 각각 callbackRepository.save(callback?); 추가
  • Loading branch information
zzoe2346 authored Oct 28, 2024
1 parent d6c6787 commit 2d682e4
Showing 1 changed file with 3 additions and 0 deletions.
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

0 comments on commit 2d682e4

Please sign in to comment.