|
@@ -45,43 +45,43 @@
|
|
|
UPDATE examination_basic
|
|
|
<set>
|
|
|
<if test="name != null">
|
|
|
- AND name_ = #{name},
|
|
|
+ name_ = #{name},
|
|
|
</if>
|
|
|
<if test="examMode != null">
|
|
|
- AND exam_mode_ = #{examMode,typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},
|
|
|
+ exam_mode_ = #{examMode,typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},
|
|
|
</if>
|
|
|
<if test="examLocationIdList != null">
|
|
|
- AND exam_location_id_list_ = #{examLocationIdList},
|
|
|
+ exam_location_id_list_ = #{examLocationIdList},
|
|
|
</if>
|
|
|
<if test="status != null">
|
|
|
- AND status_ = #{status,typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},
|
|
|
+ status_ = #{status,typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},
|
|
|
</if>
|
|
|
<if test="enrollStartTime != null">
|
|
|
- AND enroll_start_time_ = #{enrollStartTime},
|
|
|
+ enroll_start_time_ = #{enrollStartTime},
|
|
|
</if>
|
|
|
<if test="enrollEndTime != null">
|
|
|
- AND enroll_end_time_ = #{enrollEndTime},
|
|
|
+ enroll_end_time_ = #{enrollEndTime},
|
|
|
</if>
|
|
|
<if test="expectExamStartTime != null">
|
|
|
- AND expect_exam_start_time_ = #{expectExamStartTime},
|
|
|
+ expect_exam_start_time_ = #{expectExamStartTime},
|
|
|
</if>
|
|
|
<if test="expectExamEndTime != null">
|
|
|
- AND expect_exam_end_time_ = #{expectExamEndTime},
|
|
|
+ expect_exam_end_time_ = #{expectExamEndTime},
|
|
|
</if>
|
|
|
<if test="posterTitle != null">
|
|
|
- AND poster_title_ = #{posterTitle},
|
|
|
+ poster_title_ = #{posterTitle},
|
|
|
</if>
|
|
|
<if test="posterProfile != null">
|
|
|
- AND poster_profile_ = #{posterProfile},
|
|
|
+ poster_profile_ = #{posterProfile},
|
|
|
</if>
|
|
|
<if test="posterBackgroundImg != null">
|
|
|
- AND poster_profile_ = #{posterBackgroundImg},
|
|
|
+ poster_profile_ = #{posterBackgroundImg},
|
|
|
</if>
|
|
|
<if test="tenantId != null">
|
|
|
- AND tenant_id_ = #{tenantId},
|
|
|
+ tenant_id_ = #{tenantId},
|
|
|
</if>
|
|
|
<if test="memo!=null">
|
|
|
- AND memo_=#{memo},
|
|
|
+ memo_=#{memo},
|
|
|
</if>
|
|
|
update_time_ = NOW()
|
|
|
</set> WHERE id_ = #{id}
|
|
@@ -92,43 +92,43 @@
|
|
|
UPDATE examination_basic
|
|
|
<set>
|
|
|
<if test="name != null">
|
|
|
- AND name_ = #{exam.name},
|
|
|
+ name_ = #{exam.name},
|
|
|
</if>
|
|
|
<if test="examMode != null">
|
|
|
- AND exam_mode_ = #{exam.examMode,typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},
|
|
|
+ exam_mode_ = #{exam.examMode,typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},
|
|
|
</if>
|
|
|
<if test="examLocationIdList != null">
|
|
|
- AND exam_location_id_list_ = #{exam.examLocationIdList},
|
|
|
+ exam_location_id_list_ = #{exam.examLocationIdList},
|
|
|
</if>
|
|
|
<if test="status != null">
|
|
|
- AND status_ = #{exam.status,typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},
|
|
|
+ status_ = #{exam.status,typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},
|
|
|
</if>
|
|
|
<if test="enrollStartTime != null">
|
|
|
- AND enroll_start_time_ = #{exam.enrollStartTime},
|
|
|
+ enroll_start_time_ = #{exam.enrollStartTime},
|
|
|
</if>
|
|
|
<if test="enrollEndTime != null">
|
|
|
- AND enroll_end_time_ = #{exam.enrollEndTime},
|
|
|
+ enroll_end_time_ = #{exam.enrollEndTime},
|
|
|
</if>
|
|
|
<if test="expectExamStartTime != null">
|
|
|
- AND expect_exam_start_time_ = #{exam.expectExamStartTime},
|
|
|
+ expect_exam_start_time_ = #{exam.expectExamStartTime},
|
|
|
</if>
|
|
|
<if test="expectExamEndTime != null">
|
|
|
- AND expect_exam_end_time_ = #{exam.expectExamEndTime},
|
|
|
+ expect_exam_end_time_ = #{exam.expectExamEndTime},
|
|
|
</if>
|
|
|
<if test="posterTitle != null">
|
|
|
- AND poster_title_ = #{exam.posterTitle},
|
|
|
+ poster_title_ = #{exam.posterTitle},
|
|
|
</if>
|
|
|
<if test="posterProfile != null">
|
|
|
- AND poster_profile_ = #{exam.posterProfile},
|
|
|
+ poster_profile_ = #{exam.posterProfile},
|
|
|
</if>
|
|
|
<if test="posterBackgroundImg != null">
|
|
|
- AND poster_profile_ = #{exam.posterBackgroundImg},
|
|
|
+ poster_profile_ = #{exam.posterBackgroundImg},
|
|
|
</if>
|
|
|
<if test="tenantId != null">
|
|
|
- AND tenant_id_ = #{exam.tenantId},
|
|
|
+ tenant_id_ = #{exam.tenantId},
|
|
|
</if>
|
|
|
<if test="memo!=null">
|
|
|
- AND memo_=#{memo},
|
|
|
+ memo_=#{memo},
|
|
|
</if>
|
|
|
update_time_ = NOW()
|
|
|
</set> WHERE id_ = #{exam.id}
|