ShuanghongS 1 anno fa
parent
commit
7b7c63a456
3 ha cambiato i file con 3 aggiunte e 6 eliminazioni
  1. 1 1
      main_new_version.php
  2. 0 2
      service/column.class.php
  3. 2 3
      service/ocean_booking.class.php

+ 1 - 1
main_new_version.php

@@ -432,7 +432,7 @@ switch ($action) {
         if ($rc == - 1) {
             $sql = "SELECT count(1) from public.online_ocean" . $sqlWhere ." and last_status_315_update_time is not null";
             $rc = common::excuteOneSql($sql);
-            error_log($sql);
+            //error_log($sql);
         }
         $tp = ceil($rc / $ps);
         if ($rc > 0) {

+ 0 - 2
service/column.class.php

@@ -130,7 +130,6 @@ class column {
         $ss = "SELECT database_column_name, display_name FROM public.ra_online_search_display_cso WHERE lower(model_name) = '" . strtolower($model_name) . "'";
         if (_isCustomerLogin())
             $ss .= ' and customer_display=true';
-        error_log($ss);
         $rss = common::excuteListSql($ss);
         
         //旧版本去除新加__字段
@@ -153,7 +152,6 @@ class column {
         $ss = "SELECT database_column_name, display_name FROM public.ra_online_search_display_cso WHERE lower(model_name) = '" . strtolower($model_name) . "'";
         if (_isCustomerLogin())
             $ss .= ' and customer_display=true';
-        error_log($ss);
         $rss = common::excuteListSql($ss);
         
         //旧版本去除新加__字段

+ 2 - 3
service/ocean_booking.class.php

@@ -123,9 +123,9 @@ class ocean_booking {
     private function _booking_search() {
         $cp = common::check_input($_POST ['cp']); //current_page
         $ps = common::check_input($_POST ['ps']); //ps
-        if (empty($ps))
+        if (empty($ps)){
             $ps = 50;
-
+        }
         $sqlWhere = ' where ' . common::searchExtendHandNew("booking", $_SESSION["ONLINE_USER"]);
         $sqlWhere .= search::getInstance()->getSearchSQL("Booking_Search");
 
@@ -174,7 +174,6 @@ class ocean_booking {
                 $sqlWhere .= " and ($more_sql)";
             } 
         }
-
         $rc = $_POST ['rc'];
         //这里都要查询,除非多传几个参数回来
         if ($rc == - 1 || true) {