Browse Source

后台修改学员姓名

zouxuan 5 months ago
parent
commit
da10f893f4
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 student
         <set>
+            <if test="username != null and username != ''">
+                username_ = #{username},
+            </if>
             <if test="courseTeacher != null">
                 course_teacher_ = #{courseTeacher},
             </if>