Skip to content

Commit

Permalink
d
Browse files Browse the repository at this point in the history
  • Loading branch information
qinmingyuan committed Nov 13, 2024
1 parent dccd483 commit dae7069
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/wechat/panel/payee_apps_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def set_new_payee_app
end

def set_apps
@apps = @payee.organ.apps.where.not(appid: @payee.payee_apps.pluck(:appid))
@apps = App.where(organ_id: [@payee.organ_id, @payee.organ.provider_id]).where.not(appid: @payee.payee_apps.pluck(:appid))
end

def payee_app_params
Expand Down

0 comments on commit dae7069

Please sign in to comment.