zouxuan 4 年之前
父節點
當前提交
345704495b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      mec-biz/src/main/resources/config/mybatis/StudentMapper.xml

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

@@ -219,7 +219,7 @@
       UPDATE student s SET s.teacher_id_ = #{teacherId},s.update_time_ = NOW() WHERE FIND_IN_SET(s.user_id_,#{studentIds})
     </update>
     <update id="updateServiceTag">
-        UPDATE student SET service_tag_ = #{serviceTag} WHERE user_id_ IN
+        UPDATE student SET service_tag_ = #{serviceTag},update_time_ = NOW() WHERE user_id_ IN
         <foreach collection="studentIds" item="item" open="(" separator="," close=")">
             #{item}
         </foreach>