lvhao hace 19 horas
padre
commit
bc55f0ded8
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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);
 			$torderinfo = $this->input->get('torderinfo',true);
 			$region = $this->input->get('region',true);
+			$xztime = $this->input->post('xztime',true);
 			$timetk = strtotime($timetk);
 			$timetj = strtotime($timetj);
 			$dowid = $this->input->get('a');
@@ -557,7 +558,7 @@ class Returns extends Start_Controller {
 			$where = "1=1 and (".$fgshop." shop = '0')";
 			if($timetk && $timetj)
             {
-                $where  .= " and time > '$timetk' and time < '$timetj'";
+                $where  .= " and ".$xztime." > '$timetk' and ".$xztime." < '$timetj' ";
             }
 			if($shop)
             {