|
@@ -71,7 +71,7 @@ switch ($action) {
|
|
|
//$bdate = "null";
|
|
//$bdate = "null";
|
|
|
|
|
|
|
|
$sqlWhere = ' and ' . common::searchExtendHandNew("ocean", $_SESSION["ONLINE_USER"]);
|
|
$sqlWhere = ' and ' . common::searchExtendHandNew("ocean", $_SESSION["ONLINE_USER"]);
|
|
|
- //$sqlWhere = common::check_input($sqlWhere);
|
|
|
|
|
|
|
+ $sqlWhere = common::check_input($sqlWhere);
|
|
|
$sqlWhere = " " . $sqlWhere;
|
|
$sqlWhere = " " . $sqlWhere;
|
|
|
//online_order_status_date_new 与本地的区分,发布上去这去掉new
|
|
//online_order_status_date_new 与本地的区分,发布上去这去掉new
|
|
|
$list = common::excuteListSql("select * from public.online_order_status_date('$type'::text, 'eta'::text, 'etd'::text, $bdate, $edate, '$sqlWhere'::text, '$container_type'::text) "
|
|
$list = common::excuteListSql("select * from public.online_order_status_date('$type'::text, 'eta'::text, 'etd'::text, $bdate, $edate, '$sqlWhere'::text, '$container_type'::text) "
|
|
@@ -126,7 +126,7 @@ switch ($action) {
|
|
|
//$bdate = "null";
|
|
//$bdate = "null";
|
|
|
|
|
|
|
|
$sqlWhere = ' and ' . common::searchExtendHandNew("ocean", $_SESSION["ONLINE_USER"]);
|
|
$sqlWhere = ' and ' . common::searchExtendHandNew("ocean", $_SESSION["ONLINE_USER"]);
|
|
|
- //$sqlWhere = common::check_input($sqlWhere);
|
|
|
|
|
|
|
+ $sqlWhere = common::check_input($sqlWhere);
|
|
|
$sqlWhere = " " . $sqlWhere;
|
|
$sqlWhere = " " . $sqlWhere;
|
|
|
|
|
|
|
|
$list = common::excuteListSql("select * from public.online_order_status_date_kpi_new('$type'::text,'$sqlWhere'::text) "
|
|
$list = common::excuteListSql("select * from public.online_order_status_date_kpi_new('$type'::text,'$sqlWhere'::text) "
|