From c357f7fa22274eab15fffe593a7d715a6f2722b8 Mon Sep 17 00:00:00 2001 From: jinho jeong Date: Sun, 5 Jun 2022 15:24:40 +0900 Subject: [PATCH] debug :: batchconfig get queryRepository --- src/main/java/com/example/oneul/global/config/BatchConfig.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/com/example/oneul/global/config/BatchConfig.java b/src/main/java/com/example/oneul/global/config/BatchConfig.java index 661a2e7..93621db 100644 --- a/src/main/java/com/example/oneul/global/config/BatchConfig.java +++ b/src/main/java/com/example/oneul/global/config/BatchConfig.java @@ -30,10 +30,11 @@ public class BatchConfig { private PostCommandRepository postCommandRepository; private PostQueryRepository postQueryRepository; - public BatchConfig(JobBuilderFactory jobBuilderFactory, StepBuilderFactory stepBuilderFactory, PostCommandRepository postCommandRepository){ + public BatchConfig(JobBuilderFactory jobBuilderFactory, StepBuilderFactory stepBuilderFactory, PostCommandRepository postCommandRepository, PostQueryRepository postQueryRepository){ this.jobBuilderFactory = jobBuilderFactory; this.stepBuilderFactory = stepBuilderFactory; this.postCommandRepository = postCommandRepository; + this.postQueryRepository = postQueryRepository; } @Bean