@ -8,7 +8,7 @@ class Libraries::SubmitService
end
def call
return if library.processing?
return if library.processing? || library.published?
raise Error, '该状态下不能提交审核' unless library.may_submit?