|
|
|
@ -52,7 +52,7 @@ namespace :sync do
|
|
|
|
|
end_time = '2022-07-28'
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
discusses = Discuss.where(dis_id: shixun_ids).where("parent_id is null and created_at >? and created_at <?", start_time, end_time)
|
|
|
|
|
discusses = Discuss.where(dis_id: shixun_id).where("parent_id is null and created_at >? and created_at <?", start_time, end_time)
|
|
|
|
|
discusses.each do |discusse|
|
|
|
|
|
puts discusse.id
|
|
|
|
|
# 找到所有的子回复
|
|
|
|
|