From d5f80c24adbef34f8e66cedb46a72a6395134445 Mon Sep 17 00:00:00 2001
From: xiangpei <xiangpei@timesnew.cn>
Date: 星期二, 14 五月 2024 15:09:28 +0800
Subject: [PATCH] 题目练习

---
 src/main/resources/mapper/SelfPracticeMapper.xml |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/src/main/resources/mapper/SelfPracticeMapper.xml b/src/main/resources/mapper/SelfPracticeMapper.xml
index a713dd3..1b02250 100644
--- a/src/main/resources/mapper/SelfPracticeMapper.xml
+++ b/src/main/resources/mapper/SelfPracticeMapper.xml
@@ -5,9 +5,9 @@
 
     <insert id="add" keyColumn="id" useGeneratedKeys="true" parameterType="com.mindskip.xzs.domain.SelfPractice">
         INSERT INTO
-            t_self_practice(user_id, remark, subjects, practice_type, create_time, update_time, question_num, deleted)
+            t_self_practice(user_id, remark, subjects, practice_type, create_time, update_time, question_type, deleted)
         VALUE
-            (#{userId}, #{remark}, #{subjects}, #{practiceType}, #{createTime}, #{updateTime}, #{questionNum}, #{deleted})
+            (#{userId}, #{remark}, #{subjects}, #{practiceType}, #{createTime}, #{updateTime}, #{questionType}, #{deleted})
     </insert>
 
     <select id="page" resultType="com.mindskip.xzs.domain.vo.SelfPracticeVO">
@@ -19,8 +19,7 @@
                practice_type as practiceType,
                create_time createTime,
                update_time as updateTime,
-               question_num as questionNum,
-               question_ids as questionIds
+               question_type as questionType
         FROM
              t_self_practice
         <where>
@@ -48,8 +47,7 @@
             practice_type as practiceType,
             create_time createTime,
             update_time as updateTime,
-            question_num as questionNum,
-            question_ids as questionIds
+            question_type as questionType
         FROM
              t_self_practice
         WHERE

--
Gitblit v1.8.0