lvhao 20 hours ago
parent
commit
37d320c7a3
1 changed files with 1 additions and 1 deletions
  1. 1 1
      core/CoreApp/controllers/Whlabel_bh.php

+ 1 - 1
core/CoreApp/controllers/Whlabel_bh.php

@@ -2195,7 +2195,7 @@ class Whlabel_bh extends Start_Controller {
 					$rows = array('total'=>0,'over'=>1,'pagenum'=>1,'rows'=>([]),'cwxx'=>"请先输入订单号");
 					echo json_encode($rows);exit;
 				}else{
-					$number_list  = $this->whlabel_bh->find_all(" orderinfo = '$orderinfo' and pm like '%|".$pm."|%' " ,"orderinfo,number");
+					$number_list  = $this->whlabel_bh->find_all(" orderinfo = '$orderinfo' and pm like '%".$pm."%' " ,"orderinfo,number");
 					$numbers = array_column($number_list,'number');
 					if(empty($numbers)){
 						$rows = array('total'=>0,'over'=>1,'pagenum'=>1,'rows'=>([]));