From 0879a157fd7c85ec34f1dac51a2b113bf1f5f2f6 Mon Sep 17 00:00:00 2001
From: fuliqi <fuliqi@qq.com>
Date: 星期五, 07 六月 2024 15:53:54 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/master'

---
 src/main/resources/mapper/ExamTemplateMapper.xml |   12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diff --git a/src/main/resources/mapper/ExamTemplateMapper.xml b/src/main/resources/mapper/ExamTemplateMapper.xml
index a2ca3f5..2175930 100644
--- a/src/main/resources/mapper/ExamTemplateMapper.xml
+++ b/src/main/resources/mapper/ExamTemplateMapper.xml
@@ -3,13 +3,14 @@
 <mapper namespace="com.ycl.jxkg.mapper.ExamTemplateMapper">
 
     <!-- 閫氱敤鏌ヨ鏄犲皠缁撴灉 -->
-    <resultMap id="BaseResultMap" type="com.ycl.jxkg.domain.vo.ExamTemplateVO">
+    <resultMap id="BaseResultMap" type="com.ycl.jxkg.domain.entity.ExamTemplate">
         <result column="name" property="name" />
         <result column="subject_id" property="subjectId" />
         <result column="score" property="score" />
         <result column="visibility" property="visibility" />
         <result column="suggest_time" property="suggestTime" />
         <result column="deduct_type" property="deductType" />
+        <result column="deduct_type_score" property="deductTypeScore" />
         <result column="single_choice" property="singleChoice" />
         <result column="multiple_choice" property="multipleChoice" />
         <result column="gap_filling" property="gapFilling" />
@@ -28,10 +29,6 @@
 
 
 
-
-
-
-
     <select id="getById" resultMap="BaseResultMap">
         SELECT
             TET.name,
@@ -40,6 +37,7 @@
             TET.visibility,
             TET.suggest_time,
             TET.deduct_type,
+            TET.deduct_type_score,
             TET.single_choice,
             TET.multiple_choice,
             TET.gap_filling,
@@ -70,6 +68,7 @@
             TET.visibility,
             TET.suggest_time,
             TET.deduct_type,
+            TET.deduct_type_score,
             TET.single_choice,
             TET.multiple_choice,
             TET.gap_filling,
@@ -98,4 +97,7 @@
         </where>
     </select>
 
+    <delete id="removeById">
+        delete from t_exam_template where id = #{id}
+    </delete>
 </mapper>

--
Gitblit v1.8.0