📅  最后修改于: 2022-03-11 14:54:06.786000             🧑  作者: Mango
$object->getCollection()
->addStatusFilter(1)
->addPriorityFilter('ASC')
->addFieldToFilter('main_table.from_date', [['lteq' => $now], ['null' => true]])
->addFieldToFilter('main_table.to_date', [['gteq' => $now], ['null' => true]])
->addFieldToFilter('main_table.column', ['eq' => 87])
->addCustomerGroupFilter($customerGroup)
->addStoreFilter([$this->_storeManager->getStore()->getId()],false );