Commit 28973cf4 by wangjian

2024-03-26 学生违纪BUG

parent 9386f13d
......@@ -121,8 +121,8 @@
<if test="name != null">name,</if>
<if test="sex != null">sex,</if>
<if test="idCard != null">id_card,</if>
<if test="classTeacherId != null">class_teacher_id,class_teacher,</if>
<if test="gradeDirectorId != null">grade_director_id,grade_director,</if>
<if test="classTeacher != null">class_teacher_id,class_teacher,</if>
<if test="gradeDirector != null">grade_director_id,grade_director,</if>
<if test="violateType != null">violate_type,</if>
<if test="violateNum != null">violate_num,</if>
<if test="punishResult != null">punish_result,</if>
......@@ -149,8 +149,8 @@
<if test="name != null">#{name},</if>
<if test="sex != null">#{sex},</if>
<if test="idCard != null">#{idCard},</if>
<if test="classTeacherId != null">#{classTeacherId},(select user_name from sys_user where user_id = #{classTeacherId}),</if>
<if test="gradeDirectorId != null">#{gradeDirectorId},(select user_name from sys_user where user_id = #{gradeDirectorId}),</if>
<if test="classTeacher != null">(select user_id from sys_user where user_name = #{classTeacher}),#{classTeacher},</if>
<if test="gradeDirector != null">(select user_id from sys_user where user_name = #{gradeDirector}),#{gradeDirector},</if>
<if test="violateType != null">#{violateType},</if>
<if test="violateNum != null">#{violateNum},</if>
<if test="punishResult != null">#{punishResult},</if>
......@@ -181,8 +181,8 @@
<if test="name != null">name = #{name},</if>
<if test="sex != null">sex = #{sex},</if>
<if test="idCard != null">id_card = #{idCard},</if>
<if test="classTeacherId != null">class_teacher_id = #{classTeacherId},class_teacher = (select user_name from sys_user where user_id = #{classTeacherId}),</if>
<if test="gradeDirectorId != null">grade_director_id = #{gradeDirectorId},grade_director = (select user_name from sys_user where user_id = #{gradeDirectorId}),</if>
<if test="classTeacher != null">class_teacher_id = (select user_id from sys_user where user_name = #{classTeacher}), class_teacher = #{classTeacher}, </if>
<if test="gradeDirector != null">grade_director_id = (select user_id from sys_user where user_name = #{gradeDirector}), grade_director = #{gradeDirector},</if>
<if test="violateType != null">violate_type = #{violateType},</if>
<if test="violateNum != null">violate_num = #{violateNum},</if>
<if test="punishResult != null">punish_result = #{punishResult},</if>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment