考生信息更新新增条件。

This commit is contained in:
Renpc-kilig 2021-06-19 17:39:50 +08:00
parent f16378caf0
commit af8f2c3fc9

View File

@ -441,7 +441,13 @@
modifier = #{modifier},
apply_students_new_id = apply_students_new_id
WHERE
apply_students_new_id = #{applyStudentsNewId}
1 = 1
<if test="applyStudentsNewId != null and applyStudentsNewId != ''">
AND apply_students_new_id = #{applyStudentsNewId}
</if>
<if test="classPlanId != null and classPlanId != ''">
AND class_plan_id = #{classPlanId}
</if>
</update>
<!-- 详情 -->