ShuanghongS 1 년 전
부모
커밋
8f10ce158b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      main_new_version.php

+ 2 - 2
main_new_version.php

@@ -182,9 +182,9 @@ switch ($action) {
         
         $date_type = strtolower($_REQUEST["date_type"]);
         if (isset($_REQUEST['date_start']) && !empty($_REQUEST['date_start']))
-            $sqlWhere .= " and $date_type >= '" . common::usDate2sqlDate($_REQUEST['date_start']) . " 00:00:00'";
+            $sqlWhere .= " and $date_type >= ''" . common::usDate2sqlDate($_REQUEST['date_start']) . " 00:00:00''";
         if (isset($_REQUEST['date_end']) && !empty($_REQUEST['date_end']))
-            $sqlWhere .= " and $date_type <= '" . common::usDate2sqlDate($_REQUEST['date_end']) . " 23:59:59'";
+            $sqlWhere .= " and $date_type <= ''" . common::usDate2sqlDate($_REQUEST['date_end']) . " 23:59:59''";
          
         $transportation = strtolower($_REQUEST["transportation"]);
         if(!is_array($transportation)){