|
|
|
@ -110,7 +110,8 @@ class Order extends OrderModel |
|
|
|
|
$filter[] = ['user.user_id', '=', $param['user_id']]; |
|
|
|
|
} |
|
|
|
|
if (!empty($param['delivery_type'])) { |
|
|
|
|
$filter[] = ['order.delivery_type', '=', DeliveryType::EXPRESS]; |
|
|
|
|
//$filter[] = ['order.delivery_type', '=', DeliveryType::EXPRESS]; |
|
|
|
|
$filter[] = ['order.delivery_type', '=', $param['delivery_type']]; |
|
|
|
|
} |
|
|
|
|
$filterOr = []; |
|
|
|
|
if (!empty($param['searchValue']) && $param['searchType'] == 'all') { |
|
|
|
@ -360,17 +361,18 @@ class Order extends OrderModel |
|
|
|
|
*/ |
|
|
|
|
public function updateRemark(array $data): bool |
|
|
|
|
{ |
|
|
|
|
$data = []; |
|
|
|
|
$data1 = []; |
|
|
|
|
if (isset($data['content']) && $data['content']) { |
|
|
|
|
$data['merchant_remark'] = $data['content']; |
|
|
|
|
$data1['merchant_remark'] = $data['content']; |
|
|
|
|
} |
|
|
|
|
if (isset($data['jd_link']) && $data['jd_link']) { |
|
|
|
|
$data['jd_link'] = $data['jd_link']; |
|
|
|
|
$data1['jd_link'] = $data['jd_link']; |
|
|
|
|
} |
|
|
|
|
if (!$data) { |
|
|
|
|
|
|
|
|
|
if (!$data1) { |
|
|
|
|
return true; |
|
|
|
|
} |
|
|
|
|
return $this->save($data); |
|
|
|
|
return $this->save($data1); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|