You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
251 B
11 lines
251 B
6 years ago
|
class UpdateMyshixunWorkStatusJob < ApplicationJob
|
||
|
queue_as :default
|
||
|
|
||
|
def perform(myshixun_id)
|
||
|
myshixun = Myshixun.find_by(id: myshixun_id)
|
||
|
return if myshixun.blank?
|
||
|
|
||
|
HomeworksService.new.update_myshixun_work_status myshixun
|
||
|
end
|
||
|
end
|