|
|
@@ -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";
|
|
|
}
|