ztt 11 months ago
parent 0a7efe2a07
commit 6ebedbe576
  1. 2
      app/store/model/Order.php
  2. 2
      app/store/model/OrderRefund.php

@ -110,7 +110,7 @@ class Order extends OrderModel
$filter[] = ['user.user_id' ,'=', $param['user_id']];
}
if (!empty($param['delivery_type'])) {
$filter[] = ['order.delivery_type', '=', $param['delivery_type']];
$filter[] = ['order.delivery_type', '=', DeliveryType::EXPRESS];
}
$filterOr = [];
if (!empty($param['searchValue']) && $param['searchType'] == 'all') {

@ -82,7 +82,7 @@ class OrderRefund extends OrderRefundModel
$filter[] = ['user.user_id' ,'=', $param['user_id']];
}
if (!empty($param['delivery_type'])) {
$filter[] = ['order.delivery_type', '=', $param['delivery_type']];
$filter[] = ['order.delivery_type', '=', DeliveryType::EXPRESS];
}
$filterOr = [];
if (!empty($param['searchValue']) && $param['searchType'] == 'all') {

Loading…
Cancel
Save