|
@@ -31,7 +31,7 @@
|
|
|
</select>
|
|
|
|
|
|
<!-- 向数据库增加一条记录 -->
|
|
|
- <insert id="insert" parameterType="ExamRoom" useGeneratedKeys="true" keyColumn="id" keyProperty="id">
|
|
|
+ <insert id="insert" parameterType="com.keao.edu.user.api.entity.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="ExamRoom">
|
|
|
+ <update id="update" parameterType="com.keao.edu.user.api.entity.ExamRoom">
|
|
|
UPDATE exam_room <set>
|
|
|
<if test="delFlag != null">
|
|
|
del_flag_ = #{delFlag},
|