lvhao 19 часов назад
Родитель
Сommit
bc55f0ded8
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      core/CoreApp/controllers/Returns.php

+ 2 - 1
core/CoreApp/controllers/Returns.php

@@ -539,6 +539,7 @@ class Returns extends Start_Controller {
 			$number = $this->input->get('number',true);
 			$number = $this->input->get('number',true);
 			$torderinfo = $this->input->get('torderinfo',true);
 			$torderinfo = $this->input->get('torderinfo',true);
 			$region = $this->input->get('region',true);
 			$region = $this->input->get('region',true);
+			$xztime = $this->input->post('xztime',true);
 			$timetk = strtotime($timetk);
 			$timetk = strtotime($timetk);
 			$timetj = strtotime($timetj);
 			$timetj = strtotime($timetj);
 			$dowid = $this->input->get('a');
 			$dowid = $this->input->get('a');
@@ -557,7 +558,7 @@ class Returns extends Start_Controller {
 			$where = "1=1 and (".$fgshop." shop = '0')";
 			$where = "1=1 and (".$fgshop." shop = '0')";
 			if($timetk && $timetj)
 			if($timetk && $timetj)
             {
             {
-                $where  .= " and time > '$timetk' and time < '$timetj'";
+                $where  .= " and ".$xztime." > '$timetk' and ".$xztime." < '$timetj' ";
             }
             }
 			if($shop)
 			if($shop)
             {
             {