|
|
@ -74,7 +74,7 @@ class Users::ShixunService
|
|
|
|
when 'closed' then 3
|
|
|
|
when 'closed' then 3
|
|
|
|
end
|
|
|
|
end
|
|
|
|
Rails.logger.info("######status: #{status}")
|
|
|
|
Rails.logger.info("######status: #{status}")
|
|
|
|
Rails.logger.info("######relations: #{relations.map(&:id}")
|
|
|
|
Rails.logger.info("######relations: #{relations.map(&:id)}")
|
|
|
|
relations = relations.where(status: status) if status
|
|
|
|
relations = relations.where(status: status) if status
|
|
|
|
relations
|
|
|
|
relations
|
|
|
|
end
|
|
|
|
end
|
|
|
|