From 111f0f0fa6aa6febe0620900701395cc3feaf003 Mon Sep 17 00:00:00 2001 From: daiao <358551898@qq.com> Date: Thu, 2 Jan 2020 15:00:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8B=92=E7=BB=9D=E5=88=86=E7=BB=84=E5=90=8E?= =?UTF-8?q?=E4=B8=8D=E7=A7=BB=E5=8A=A8=E5=AD=A6=E7=94=9F=E5=88=86=E7=8F=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/controllers/graduation_topics_controller.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/controllers/graduation_topics_controller.rb b/app/controllers/graduation_topics_controller.rb index 5160136e8..9b3021994 100644 --- a/app/controllers/graduation_topics_controller.rb +++ b/app/controllers/graduation_topics_controller.rb @@ -140,8 +140,8 @@ class GraduationTopicsController < ApplicationController update_graduation_topic_status # 拒绝后将该学生移动到未分班中 - student_member = @course.course_members.where(:user_id => student_graduation_topic.user_id).first - student_member.update_attributes(:course_group_id => 0) if student_member.present? + # student_member = @course.course_members.where(:user_id => student_graduation_topic.user_id).first + # student_member.update_attributes(:course_group_id => 0) if student_member.present? student_graduation_topic.tidings.update_all(:status => 1) Tiding.create(:user_id => student_graduation_topic.user_id, :trigger_user_id => current_user.id,