lvhao 4 ngày trước cách đây
mục cha
commit
d963953fbd
1 tập tin đã thay đổi với 3 bổ sung3 xóa
  1. 3 3
      core/CoreApp/controllers/Whlabelfz1.php

+ 3 - 3
core/CoreApp/controllers/Whlabelfz1.php

@@ -654,14 +654,14 @@ class Whlabelfz1 extends Start_Controller
 		$type = $this->input->get('type',true);
 		$timetk = strtotime($timetk);
 		$timetj = strtotime($timetj);
-		
+		$orderinfo = $this->input->get('orderinfo',true);
 		$where_sql = " 1=1 ";
 		if($timetk&&$timetj){
 			$where_sql .= " and scantime >= ".$timetk ." and scantime <= ".$timetj." ";
 
 		}
-		if(!empty($post['orderinfo'])){
-			$where_sql .=" and orderinfo = '".$post['orderinfo']."' ";
+		if(!empty($orderinfo)){
+			$where_sql .=" and orderinfo = '".$orderinfo."' ";
 		}
 		if($type){
 			$where_sql .=" and type = ".$type." ";