组织默认activite status
This commit is contained in:
parent
57bb2f69a4
commit
432baebdc3
|
@ -25,6 +25,8 @@ class OrgSubfieldsController < ApplicationController
|
|||
# status类型说明,详见SubField
|
||||
def update_status_by_type subfield, type
|
||||
case type
|
||||
when "activity"
|
||||
subfield.update_attribute(:status, 0)
|
||||
when "Resource"
|
||||
subfield.update_attribute(:status, 6)
|
||||
when "Comptec"
|
||||
|
|
Loading…
Reference in New Issue