大米CMS官网论坛,大米站长联盟,大米站长之家,大米开发者社区
标题:
magento2 or查询
[打印本页]
作者:
追影
时间:
2020-9-16 17:08
标题:
magento2 or查询
->addAttributeToFilter([
['attribute' => 'text_marker_from', [
'or' => [
['date' => true, 'to' => $todayEnd],
['null' => true]
]
]],
['attribute' => 'text_marker_to', [
'or' => [
['date' => true, 'from' => $todayStart],
['null' => true]
]
]]
]);
复制代码
欢迎光临 大米CMS官网论坛,大米站长联盟,大米站长之家,大米开发者社区 (https://www.damicms.com/bbs/)
Powered by Discuz! X3.1