|
@@ -6,7 +6,7 @@
|
|
|
-->
|
|
|
<mapper namespace="com.keao.edu.user.dao.ExamRoomDao">
|
|
|
|
|
|
- <resultMap type="com.keao.edu.auth.api.entity.ExamRoom" id="ExamRoom">
|
|
|
+ <resultMap type="ExamRoom" id="ExamRoom">
|
|
|
<result column="id_" property="id" />
|
|
|
<result column="exam_mode_" property="examMode" />
|
|
|
<result column="exam_location_id_" property="examLocationId" />
|
|
@@ -31,7 +31,7 @@
|
|
|
</select>
|
|
|
|
|
|
<!-- 向数据库增加一条记录 -->
|
|
|
- <insert id="insert" parameterType="com.keao.edu.auth.api.entity.ExamRoom" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
|
|
|
+ <insert id="insert" parameterType="ExamRoom" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
|
|
|
INSERT INTO exam_room (id_,exam_mode_,exam_location_id_,subject_id_list_,main_teacher_user_id_,
|
|
|
assistant_teacher_user_id_list_,exam_time_json_,del_flag_,create_time_,update_time_,tenant_id_)
|
|
|
VALUES(#{id},#{examMode},#{examLocationId},#{subjectIdList},#{mainTeacherUserId},#{assistantTeacherUserIdList},
|
|
@@ -39,7 +39,7 @@
|
|
|
</insert>
|
|
|
|
|
|
<!-- 根据主键查询一条记录 -->
|
|
|
- <update id="update" parameterType="com.keao.edu.auth.api.entity.ExamRoom">
|
|
|
+ <update id="update" parameterType="ExamRoom">
|
|
|
UPDATE exam_room <set>
|
|
|
<if test="delFlag != null">
|
|
|
del_flag_ = #{delFlag},
|