jinxia.mo hai 3 meses
pai
achega
a79237e6f4
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      ie-system/src/main/resources/mapper/dz/DzTeacherMapper.xml

+ 2 - 2
ie-system/src/main/resources/mapper/dz/DzTeacherMapper.xml

@@ -68,8 +68,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
             <if test="userId != null">user_id = #{userId},</if>
             <if test="deptId != null">dept_id = #{deptId},</if>
             <if test="agentId != null">agent_id = #{agentId},</if>
-            <if test="schoolId != null">school_id = #{schoolId},</if>
-            <if test="campusId != null">campus_id = #{campusId},</if>
+            school_id = #{schoolId},
+            campus_id = #{campusId},
             <if test="name != null">name = #{name},</if>
         </trim>
         where teacher_id = #{teacherId}