dev_forum
SylorHuang 5 years ago
parent ae10466320
commit d2f1a7a06b

@ -108,8 +108,10 @@ class HomeworkCommonsController < ApplicationController
@all_member_count = student_works.size
logger.info("###########______@homework.publish_time_________#{@homework.publish_time}")
logger.info("-----------------------------------------------------")
if @homework.publish_time.blank? || (@homework.publish_time > Time.now)
logger.info("+++++++++++++++++#{@homework.publish_time}")
@student_works = []
if (params[:format] == "xlsx") || (params[:format] == "zip")
normal_status(-1,"作业未发布")

Loading…
Cancel
Save