We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 108dd42 + 09ce727 commit 7171f78Copy full SHA for 7171f78
back/src/main/java/com/back/global/initData/RoadmapProdInitData.java
@@ -58,7 +58,7 @@ ApplicationRunner baseInitDataApplicationRunner2() {
58
public void runInitData() {
59
initJobData();
60
initTaskData(); // 보강된 Task 목록
61
- //initSampleJobRoadmap(); // 직업 로드맵 조회 API 테스트용 샘플 데이터
+ initSampleJobRoadmap(); // 직업 로드맵 조회 API 테스트용 샘플 데이터
62
63
// 통합 로직 테스트
64
//initSampleMentorRoadmaps(); // 샘플 멘토 로드맵 10개 생성
@@ -143,6 +143,7 @@ public void initJobData() {
143
}
144
145
// --- Task 초기화 (기존 + 기초 보강) ---
146
+ @Transactional
147
public void initTaskData() {
148
if (taskService.count() > 0) return;
149
0 commit comments