Browse Source

Merge branch 'saas' of http://git.dayaedu.com/yonge/mec into dev

zouxuan 1 year ago
parent
commit
4193af2853
1 changed files with 3 additions and 0 deletions
  1. 3 0
      mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

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

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