lvhao 12 godzin temu
rodzic
commit
a393d0bd29
1 zmienionych plików z 4 dodań i 0 usunięć
  1. 4 0
      core/CoreApp/controllers/Whlabel.php

+ 4 - 0
core/CoreApp/controllers/Whlabel.php

@@ -3698,6 +3698,7 @@ class Whlabel extends Start_Controller
 			$purchase = $this->input->get('purchase', true);
 			$ktime = $this->input->get('ktime', true);
 			$jtime = $this->input->get('jtime', true);
+			$rktype = $this->input->get('rktype',true);
 			$ktime = strtotime($ktime);
 			$jtime = strtotime($jtime);
 			$where = "1=1";
@@ -3727,6 +3728,9 @@ class Whlabel extends Start_Controller
 			if ($sku) {
 				$where  .= " and sku = '$sku'";
 			}
+			if($rktype){
+				$where .= " and rktype = '$rktype' ";
+			}
 			if ($ktime && $jtime) {
 				$where  .= " and enter > '$ktime' and enter < '$jtime' and state != 9";
 			}