|
|
@@ -152,7 +152,9 @@ class ocean_booking {
|
|
|
// $sqlWhere .= " and ($more_sql)";
|
|
|
// }
|
|
|
$more_param = common::getInNotInSqlForSearch(strtolower(implode(';',$textSearch_arr)));
|
|
|
- $sqlWhere .= " and (ARRAY[$more_param] && array_append(array[lower(booking_no)::text,lower(h_bol)::text, lower(po_no),lower(carrier_booking)],''))";
|
|
|
+ //$sqlWhere .= " and (ARRAY[$more_param] && array_append(array[lower(booking_no)::text,lower(h_bol)::text, lower(po_no),lower(carrier_booking)],''))";
|
|
|
+ $sqlWhere .= " and ((ARRAY[$more_param] && array_append(array[lower(booking_no)::text,lower(h_bol)::text, lower(po_no),lower(carrier_booking)],''))
|
|
|
+ or text_search @@ (str_to_tsquery('" . common::check_input($_POST["_textSearch"]) . "')))";
|
|
|
}
|
|
|
//为了移除filterTag条件
|
|
|
$sqlWhere_befrom_filterTag = $sqlWhere;
|