dev_forum
SylorHuang 5 years ago
parent 8e517b84fb
commit 99d2c9478c

@ -107,6 +107,8 @@ class HomeworkCommonsController < ApplicationController
student_works = @homework.all_works
@all_member_count = student_works.size
logger.info("###########______@homework.publish_time_________#{@homework.publish_time}")
if @homework.publish_time.nil? || (@homework.publish_time > Time.now)
@student_works = []
if (params[:format] == "xlsx") || (params[:format] == "zip")

Loading…
Cancel
Save