Ver código fonte

fix文字写错

周箭河 5 anos atrás
pai
commit
50985a2768

+ 36 - 17
edu-user/edu-user-server/src/main/resources/config/mybatis/ExamRegistrationMapper.xml

@@ -69,35 +69,47 @@
 			<if test="examinationBasicId != null">
 				examination_basic_id_ = #{examinationBasicId},
 			</if>
+			<if test="studentId != null != null">
+				student_id_ = #{studentId},
+			</if>
+			<if test="organId != null">
+				organ_id_ = #{organId},
+			</if>
 			<if test="subjectId != null">
 				subject_id_ = #{subjectId},
 			</if>
-			<if test="adviserPhone != null">
-				adviser_phone_ = #{adviserPhone},
+			<if test="level != null">
+				level_ = #{level},
+			</if>
+			<if test="levelFee != null">
+				level_fee_ = #{levelFee},
+			</if>
+			<if test="songJson != null">
+				song_json_ = #{songJson},
 			</if>
 			<if test="lastExamLevel != null">
 				last_exam_level_ = #{lastExamLevel},
 			</if>
-			<if test="tenantId != null and tenantId != 0">
-				tenant_id_ = #{tenantId},
+			<if test="lastExamCertificateUrl != null">
+				last_exam_certificate_url_ = #{lastExamCertificateUrl},
 			</if>
-			<if test="level != null">
-				level_ = #{level},
+			<if test="examMusicTheoryLevel!= null">
+				exam_music_theory_level_ = #{examMusicTheoryLevel},
 			</if>
-			<if test="organId != null">
-				organ_id_ = #{organId},
+			<if test="theoryLevelFee!= null">
+				theory_level_fee_ = #{theoryLevelFee},
 			</if>
-			<if test="songJson != null">
-				song_json_ = #{songJson},
+			<if test="lastMusicTheoryLevel != null">
+				last_music_theory_level_ = #{lastMusicTheoryLevel},
+			</if>
+			<if test="lastMusicTheoryCertificateUrl != null">
+				last_music_theory_certificate_url_ = #{lastMusicTheoryCertificateUrl},
 			</if>
 			<if test="adviserName != null">
 				adviser_name_ = #{adviserName},
 			</if>
-			<if test="studentId != null">
-				student_id_ = #{studentId},
-			</if>
-			<if test="lastExamCertificateUrl != null">
-				last_exam_certificate_url_ = #{lastExamCertificateUrl},
+			<if test="adviserPhone != null">
+				adviser_phone_ = #{adviserPhone},
 			</if>
 			<if test="cardNo!=null">
 				card_no_ =#{cardNo},
@@ -105,11 +117,18 @@
 			<if test="status!=null">
 				status_ = #{status,typeHandler=com.keao.edu.common.dal.CustomEnumTypeHandler},
 			</if>
+			<if test="tenantId != null">
+				tenant_id_ = #{tenantId},
+			</if>
+			<if test="createTime != null">
+				create_time_ = #{createTime},
+			</if>
 			<if test="memo!=null">
 				memo_ = #{memo},
 			</if>
-				update_time_ = NOW()
-		</set> WHERE id_ = #{id}
+			update_time_ = NOW()
+		</set>
+		WHERE id_ = #{id}
 	</update>
 
 	<!-- 根据主键删除一条记录 -->