|
|
@@ -2459,6 +2459,7 @@ class Whlabel extends Start_Controller
|
|
|
$print = $this->input->post('print', true);
|
|
|
$state = $this->input->post('state', true);
|
|
|
$orderurl = $this->input->post('orderurl', true);
|
|
|
+ $productid = $this->input->post('productid', true);
|
|
|
$timetk = strtotime($timetk);
|
|
|
$timetj = strtotime($timetj);
|
|
|
/**
|
|
|
@@ -2533,6 +2534,9 @@ class Whlabel extends Start_Controller
|
|
|
$url = $this->orderurl->read($orderurl);
|
|
|
$where .= " and link like '%" . $url['url'] . "%'";
|
|
|
}
|
|
|
+ if($productid){
|
|
|
+ $where .= " extra_price IS NOT NULL and JSON_SEARCH(extra_price, 'one', '".$productid."', NULL, '$[*].product_id') IS NOT NULL";
|
|
|
+ }
|
|
|
//数据排序
|
|
|
$order_str = "librarytime desc";
|
|
|
if (empty($page)) {
|