
--- src/main/java/com/takensoft/sj_wmp/wmp/test/dao/TestDAO.java
+++ src/main/java/com/takensoft/sj_wmp/wmp/test/dao/TestDAO.java
... | ... | @@ -5,8 +5,21 @@ |
5 | 5 |
import java.util.HashMap; |
6 | 6 |
import java.util.List; |
7 | 7 |
|
8 |
+/** |
|
9 |
+ * @author 박민혁 |
|
10 |
+ * @since 2024.07.06 |
|
11 |
+ * |
|
12 |
+ * 테스트용 DAO 클래스 |
|
13 |
+ */ |
|
14 |
+ |
|
8 | 15 |
@Mapper("testDAO") |
9 | 16 |
public interface TestDAO { |
17 |
+ /** |
|
18 |
+ * @author 박민혁 |
|
19 |
+ * @since 2024.07.06 |
|
20 |
+ * |
|
21 |
+ * 테스트용 데이터 조회 |
|
22 |
+ */ |
|
10 | 23 |
List<HashMap<String, Object>> testList() throws Exception; |
11 | 24 |
} |
12 | 25 |
|
--- src/main/java/com/takensoft/sj_wmp/wmp/test/service/Impl/TestServiceImpl.java
+++ src/main/java/com/takensoft/sj_wmp/wmp/test/service/Impl/TestServiceImpl.java
... | ... | @@ -10,12 +10,25 @@ |
10 | 10 |
import java.util.HashMap; |
11 | 11 |
import java.util.List; |
12 | 12 |
|
13 |
+/** |
|
14 |
+ * @author 박민혁 |
|
15 |
+ * @since 2024.07.06 |
|
16 |
+ * |
|
17 |
+ * 테스트용 ServiceImpl 클래스 |
|
18 |
+ */ |
|
19 |
+ |
|
13 | 20 |
@Service("testService") |
14 | 21 |
@RequiredArgsConstructor |
15 | 22 |
public class TestServiceImpl extends EgovAbstractServiceImpl implements TestService { |
16 | 23 |
|
17 | 24 |
private final TestDAO testDAO; |
18 | 25 |
|
26 |
+ /** |
|
27 |
+ * @author 박민혁 |
|
28 |
+ * @since 2024.07.06 |
|
29 |
+ * |
|
30 |
+ * 테스트용 데이터 조회 |
|
31 |
+ */ |
|
19 | 32 |
@Override |
20 | 33 |
public List<HashMap<String, Object>> testList() throws Exception { |
21 | 34 |
return testDAO.testList(); |
--- src/main/java/com/takensoft/sj_wmp/wmp/test/service/TestService.java
+++ src/main/java/com/takensoft/sj_wmp/wmp/test/service/TestService.java
... | ... | @@ -4,6 +4,20 @@ |
4 | 4 |
import java.util.HashMap; |
5 | 5 |
import java.util.List; |
6 | 6 |
|
7 |
+/** |
|
8 |
+ * @author 박민혁 |
|
9 |
+ * @since 2024.07.06 |
|
10 |
+ * |
|
11 |
+ * 테스트용 Service 클래스 |
|
12 |
+ */ |
|
13 |
+ |
|
7 | 14 |
public interface TestService { |
15 |
+ |
|
16 |
+ /** |
|
17 |
+ * @author 박민혁 |
|
18 |
+ * @since 2024.07.06 |
|
19 |
+ * |
|
20 |
+ * 테스트용 데이터 조회 |
|
21 |
+ */ |
|
8 | 22 |
List<HashMap<String, Object>> testList() throws Exception; |
9 | 23 |
} |
--- src/main/java/com/takensoft/sj_wmp/wmp/test/web/TestController.java
+++ src/main/java/com/takensoft/sj_wmp/wmp/test/web/TestController.java
... | ... | @@ -14,6 +14,13 @@ |
14 | 14 |
import java.util.HashMap; |
15 | 15 |
import java.util.List; |
16 | 16 |
|
17 |
+/** |
|
18 |
+ * @author 박민혁 |
|
19 |
+ * @since 2024.07.06 |
|
20 |
+ * |
|
21 |
+ * 테스트용 Controller 클래스 |
|
22 |
+ */ |
|
23 |
+ |
|
17 | 24 |
@RestController |
18 | 25 |
@RequiredArgsConstructor |
19 | 26 |
@Slf4j |
... | ... | @@ -22,6 +29,12 @@ |
22 | 29 |
|
23 | 30 |
private final TestService testService; |
24 | 31 |
|
32 |
+ /** |
|
33 |
+ * @author 박민혁 |
|
34 |
+ * @since 2024.07.06 |
|
35 |
+ * |
|
36 |
+ * 테스트용 데이터 조회 |
|
37 |
+ */ |
|
25 | 38 |
@PostMapping(path = "/test.json") |
26 | 39 |
public ResponseEntity<?> saveBbsCn() throws Exception { |
27 | 40 |
HashMap<String, Object> result = new HashMap<>(); |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?