소스 검색

提交测试

lvhao 3 달 전
부모
커밋
a393d0bd29
1개의 변경된 파일과 4개의 추가작업 그리고 0개의 파일을 삭제
  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";
 			}