권지수 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
+++ src/main/java/com/takensoft/ai_lms/lms/problem/vo/ProblemVO.java
@@ -32,4 +32,16 @@
     private String bookId;
     // 단원 아이디
     private String unitId;
+    // 문제 지표 1
+    private String prblmMtr1;
+    // 문제 지표 2
+    private String prblmMtr2;
+    // 문제 지표 3
+    private String prblmMtr3;
+    // 문제 지표 4
+    private String prblmMtr4;
+    // 문제 지표 5
+    private String prblmMtr5;
+    // 문제 지표 6
+    private String prblmMtr6;
 }
src/main/resources/mybatis/mapper/lms/problem-SQL.xml
--- src/main/resources/mybatis/mapper/lms/problem-SQL.xml
+++ src/main/resources/mybatis/mapper/lms/problem-SQL.xml
@@ -19,7 +19,13 @@
             prblm_ctgry_id,
             user_id,
             book_id,
-            unit_id
+            unit_id,
+            prblm_mtr1,
+            prblm_mtr2,
+            prblm_mtr3,
+            prblm_mtr4,
+            prblm_mtr5,
+            prblm_mtr6
         FROM problem
         WHERE prblm_id = #{prblmId}
     </select>
@@ -57,7 +63,13 @@
             prblm_ctgry_id,
             user_id,
             book_id,
-            unit_id
+            unit_id,
+            prblm_mtr1,
+            prblm_mtr2,
+            prblm_mtr3,
+            prblm_mtr4,
+            prblm_mtr5,
+            prblm_mtr6
         ) VALUES (
             #{prblmId},
             #{prblmExpln},
@@ -69,7 +81,13 @@
             #{prblmCtgryId},
             #{userId},
             #{bookId},
-            #{unitId}
+            #{unitId},
+            #{prblmMtr1},
+            #{prblmMtr2},
+            #{prblmMtr3},
+            #{prblmMtr4},
+            #{prblmMtr5},
+            #{prblmMtr6}
         )
     </insert>
 
@@ -111,7 +129,13 @@
             prblm_ctgry_id = #{prblmCtgryId},
             user_id = #{userId},
             book_id = #{bookId},
-            unit_id = #{unitId}
+            unit_id = #{unitId},
+            prblm_mtr1 = #{prblmMtr1},
+            prblm_mtr2 = #{prblmMtr2},
+            prblm_mtr3 = #{prblmMtr3},
+            prblm_mtr4 = #{prblmMtr4},
+            prblm_mtr5 = #{prblmMtr5},
+            prblm_mtr6 = #{prblmMtr6}
         WHERE prblm_id = #{prblmId}
     </update>
 
@@ -156,7 +180,13 @@
             prblm_ctgry_id,
             user_id,
             book_id,
-            unit_id
+            unit_id,
+            prblm_mtr1,
+            prblm_mtr2,
+            prblm_mtr3,
+            prblm_mtr4,
+            prblm_mtr5,
+            prblm_mtr6
         FROM problem
         WHERE 1 = 1
         <if test="option != null and keyword != null">
@@ -198,7 +228,13 @@
             p.prblm_ctgry_id AS prblmCtgryId,
             p.user_id AS userId,
             p.book_id AS bookId,
-            p.unit_id AS unitId
+            p.unit_id AS unitId,
+            p.prblm_mtr1 AS prblmMtr1,
+            p.prblm_mtr2 AS prblmMtr2,
+            p.prblm_mtr3 AS prblmMtr3,
+            p.prblm_mtr4 AS prblmMtr4,
+            p.prblm_mtr5 AS prblmMtr5,
+            p.prblm_mtr6 AS prblmMtr6
         FROM
             eval_problem ep
         JOIN
Add a comment
List