ShuanghongS há 3 meses atrás
pai
commit
771df5ca91
1 ficheiros alterados com 5 adições e 5 exclusões
  1. 5 5
      service/destination_delivery.class.php

+ 5 - 5
service/destination_delivery.class.php

@@ -91,7 +91,7 @@ class destination_delivery {
                         and e.active = true
                         ".$sqlwhere."
                         and coalesce(e.email,'') <>''
-                        and e.email ilike '" . common::check_input($term) . "%' limit 20";
+                        and e.email ilike '" . common::check_input($term) . "%' limit 50";
 
             $rs = common::excuteListSql($sql);
             $retData = array();
@@ -121,7 +121,7 @@ class destination_delivery {
                             where  coalesce(country_abb,'')<>'' 
                                 and  coalesce(airport.country_abb,'')||airport.airport_code ilike '" . common::check_input($term) . "%'";
             }
-            $sql .= " order by uncode limit 20";
+            $sql .= " order by uncode limit 50";
 
             $rs = common::excuteListSql($sql);
             //前端要加上id 从1开始
@@ -145,7 +145,7 @@ class destination_delivery {
 
             $sql = "select DISTINCT scac from public.vessel_company
                             where coalesce(scac,'')<> '' and  scac ilike '" . common::check_input($term) . "%'";
-            $sql .= " order by scac limit 20";
+            $sql .= " order by scac limit 50";
 
             $rs = common::excuteListSql($sql);
             //前端要加上id 从1开始
@@ -269,12 +269,12 @@ class destination_delivery {
             if ($term_type == "country"){
                 $sql = "select DISTINCT country_code AS code from public.unlocode 
                             where country_code ilike '" . common::check_input($term) . "%'".$extend_sql_where;
-                $sql .= " order by country_code  limit 20";
+                $sql .= " order by country_code  limit 50";
             }
             if ($term_type == "city"){
                 $sql = "select DISTINCT location_code AS code from public.unlocode 
                             where location_code ilike '" . common::check_input($term) . "%'".$extend_sql_where;
-                $sql .= " order by location_code limit 20";
+                $sql .= " order by location_code limit 50";
             }    
             $rs = common::excuteListSql($sql);
             //前端要加上id 从1开始