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