Jelajahi Sumber

后台修改学员姓名

zouxuan 7 bulan lalu
induk
melakukan
da10f893f4

+ 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>