修改商户订单列表查询

This commit is contained in:
luofei 2024-03-11 15:29:49 +08:00 committed by mkm
parent 16e01495e4
commit cf98018c6c

View File

@ -79,6 +79,11 @@ class StoreOrderDao extends BaseDao
$wheres['source'] = [0,2,103,105,999];
$query->where($wheres);
unset($where['source']);
} elseif (isset($where['source']) && ($where['source'] == 11 || $where['source'] == 12)) {
$wheres['activity_type'] = 98;
$wheres['source'] = [$where['source'], 999];
$query->where($wheres);
unset($where['source']);
} else {
if(isset($where['product_type']) && $where['product_type'] !== ''){
$where['product_type'] = [$where['product_type'], 2];