From 2d682e43af4866dbda9ddecdef233644c1a06ded Mon Sep 17 00:00:00 2001 From: Seonghun Jeong <119427233+zzoe2346@users.noreply.github.com> Date: Mon, 28 Oct 2024 23:00:21 +0900 Subject: [PATCH] =?UTF-8?q?Deploy:=20=ED=95=A0=EB=8B=B9=EB=90=98=EB=8A=94?= =?UTF-8?q?=20=EC=BD=9C=EB=B0=B1=20=EB=8D=94=EB=AF=B8=20=EB=8D=B0=EC=9D=B4?= =?UTF-8?q?=ED=84=B0=EC=97=90=20=EA=B0=81=EA=B0=81=20`callbackRepository.s?= =?UTF-8?q?ave(callback{id});`=20=EC=B6=94=EA=B0=80=20(#117)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit chore: 할당되는 콜백 더미 데이터에 각각 callbackRepository.save(callback?); 추가 --- .../java/com/example/sinitto/common/dummy/InitialData.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/java/com/example/sinitto/common/dummy/InitialData.java b/src/main/java/com/example/sinitto/common/dummy/InitialData.java index 98e8ccdf..2a0a22c1 100644 --- a/src/main/java/com/example/sinitto/common/dummy/InitialData.java +++ b/src/main/java/com/example/sinitto/common/dummy/InitialData.java @@ -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));