권지수
08-06
240806 권지수 문제 컬럼(문제 지표) 추가
@47002fbdd88c65ed3bc923b55294c51f8e53290c
--- src/main/java/com/takensoft/ai_lms/lms/problem/vo/ProblemVO.java
+++ src/main/java/com/takensoft/ai_lms/lms/problem/vo/ProblemVO.java
... | ... | @@ -32,4 +32,16 @@ |
32 | 32 |
private String bookId; |
33 | 33 |
// 단원 아이디 |
34 | 34 |
private String unitId; |
35 |
+ // 문제 지표 1 |
|
36 |
+ private String prblmMtr1; |
|
37 |
+ // 문제 지표 2 |
|
38 |
+ private String prblmMtr2; |
|
39 |
+ // 문제 지표 3 |
|
40 |
+ private String prblmMtr3; |
|
41 |
+ // 문제 지표 4 |
|
42 |
+ private String prblmMtr4; |
|
43 |
+ // 문제 지표 5 |
|
44 |
+ private String prblmMtr5; |
|
45 |
+ // 문제 지표 6 |
|
46 |
+ private String prblmMtr6; |
|
35 | 47 |
} |
--- src/main/resources/mybatis/mapper/lms/problem-SQL.xml
+++ src/main/resources/mybatis/mapper/lms/problem-SQL.xml
... | ... | @@ -19,7 +19,13 @@ |
19 | 19 |
prblm_ctgry_id, |
20 | 20 |
user_id, |
21 | 21 |
book_id, |
22 |
- unit_id |
|
22 |
+ unit_id, |
|
23 |
+ prblm_mtr1, |
|
24 |
+ prblm_mtr2, |
|
25 |
+ prblm_mtr3, |
|
26 |
+ prblm_mtr4, |
|
27 |
+ prblm_mtr5, |
|
28 |
+ prblm_mtr6 |
|
23 | 29 |
FROM problem |
24 | 30 |
WHERE prblm_id = #{prblmId} |
25 | 31 |
</select> |
... | ... | @@ -57,7 +63,13 @@ |
57 | 63 |
prblm_ctgry_id, |
58 | 64 |
user_id, |
59 | 65 |
book_id, |
60 |
- unit_id |
|
66 |
+ unit_id, |
|
67 |
+ prblm_mtr1, |
|
68 |
+ prblm_mtr2, |
|
69 |
+ prblm_mtr3, |
|
70 |
+ prblm_mtr4, |
|
71 |
+ prblm_mtr5, |
|
72 |
+ prblm_mtr6 |
|
61 | 73 |
) VALUES ( |
62 | 74 |
#{prblmId}, |
63 | 75 |
#{prblmExpln}, |
... | ... | @@ -69,7 +81,13 @@ |
69 | 81 |
#{prblmCtgryId}, |
70 | 82 |
#{userId}, |
71 | 83 |
#{bookId}, |
72 |
- #{unitId} |
|
84 |
+ #{unitId}, |
|
85 |
+ #{prblmMtr1}, |
|
86 |
+ #{prblmMtr2}, |
|
87 |
+ #{prblmMtr3}, |
|
88 |
+ #{prblmMtr4}, |
|
89 |
+ #{prblmMtr5}, |
|
90 |
+ #{prblmMtr6} |
|
73 | 91 |
) |
74 | 92 |
</insert> |
75 | 93 |
|
... | ... | @@ -111,7 +129,13 @@ |
111 | 129 |
prblm_ctgry_id = #{prblmCtgryId}, |
112 | 130 |
user_id = #{userId}, |
113 | 131 |
book_id = #{bookId}, |
114 |
- unit_id = #{unitId} |
|
132 |
+ unit_id = #{unitId}, |
|
133 |
+ prblm_mtr1 = #{prblmMtr1}, |
|
134 |
+ prblm_mtr2 = #{prblmMtr2}, |
|
135 |
+ prblm_mtr3 = #{prblmMtr3}, |
|
136 |
+ prblm_mtr4 = #{prblmMtr4}, |
|
137 |
+ prblm_mtr5 = #{prblmMtr5}, |
|
138 |
+ prblm_mtr6 = #{prblmMtr6} |
|
115 | 139 |
WHERE prblm_id = #{prblmId} |
116 | 140 |
</update> |
117 | 141 |
|
... | ... | @@ -156,7 +180,13 @@ |
156 | 180 |
prblm_ctgry_id, |
157 | 181 |
user_id, |
158 | 182 |
book_id, |
159 |
- unit_id |
|
183 |
+ unit_id, |
|
184 |
+ prblm_mtr1, |
|
185 |
+ prblm_mtr2, |
|
186 |
+ prblm_mtr3, |
|
187 |
+ prblm_mtr4, |
|
188 |
+ prblm_mtr5, |
|
189 |
+ prblm_mtr6 |
|
160 | 190 |
FROM problem |
161 | 191 |
WHERE 1 = 1 |
162 | 192 |
<if test="option != null and keyword != null"> |
... | ... | @@ -198,7 +228,13 @@ |
198 | 228 |
p.prblm_ctgry_id AS prblmCtgryId, |
199 | 229 |
p.user_id AS userId, |
200 | 230 |
p.book_id AS bookId, |
201 |
- p.unit_id AS unitId |
|
231 |
+ p.unit_id AS unitId, |
|
232 |
+ p.prblm_mtr1 AS prblmMtr1, |
|
233 |
+ p.prblm_mtr2 AS prblmMtr2, |
|
234 |
+ p.prblm_mtr3 AS prblmMtr3, |
|
235 |
+ p.prblm_mtr4 AS prblmMtr4, |
|
236 |
+ p.prblm_mtr5 AS prblmMtr5, |
|
237 |
+ p.prblm_mtr6 AS prblmMtr6 |
|
202 | 238 |
FROM |
203 | 239 |
eval_problem ep |
204 | 240 |
JOIN |
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?