zouxuan месяцев назад: 3
Родитель
Сommit
d68f145894
1 измененных файлов с 0 добавлено и 3 удалено
  1. 0 3
      mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

+ 0 - 3
mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

@@ -151,9 +151,6 @@
     <update id="update" parameterType="com.ym.mec.biz.dal.entity.Student">
         UPDATE student
         <set>
-            <if test="username != null and username != ''">
-                username_ = #{username},
-            </if>
             <if test="courseTeacher != null">
                 course_teacher_ = #{courseTeacher},
             </if>