This commit is contained in:
BoHung Chiu 2022-11-25 00:48:19 +08:00
parent 20bc7c888c
commit b819715799
1 changed files with 8 additions and 0 deletions

View File

@ -0,0 +1,8 @@
module RulingBusConcern
extend ActiveSupport::Concern
included do
end
def delete_page_cache_custom
PageCacheModel.where(:page_id.in=>PagePart.where(:id.in=>SubPart.where(:module=>'ruling_bus').pluck(:page_part_id)).pluck(:page_id)).delete
end
end