新增SPGW统计
This commit is contained in:
@@ -13,6 +13,7 @@ define(iGRS_SYSTYPENO,387);
|
||||
define(TMG_SYSTYPENO,391);
|
||||
define(AMRMG_SYSTYPENO,392);
|
||||
define(RCS_SYSTYPENO,364);
|
||||
define(SPGW_SYSTYPENO,362);
|
||||
global $OMC_server;
|
||||
$cstaDbConn=mysqli_connect($OMC_server[0]['host'],$OMC_server[0]['user'],$OMC_server[0]['password'], $csta_db);
|
||||
|
||||
@@ -135,7 +136,7 @@ function GetCstaDataByDay($cstaConf,$startTime,$endTime,$dataType,$keyOneConditi
|
||||
$sql="select {$fieldList} from CSTA_DB.{$dataTable} where csta_datetime >= '{$startTime}' and csta_datetime <= '{$endTime}' {$keyCondition} ";
|
||||
if(strcmp($condition,""))
|
||||
$sql.=" and $condition ";
|
||||
if(0)
|
||||
if($DEBUG)
|
||||
echo "$sql<br>";
|
||||
$res=mysqli_query($cstaDbConn,$sql);
|
||||
$num=mysqli_num_rows($res);
|
||||
@@ -164,7 +165,7 @@ function GetCstaDataByDay($cstaConf,$startTime,$endTime,$dataType,$keyOneConditi
|
||||
}
|
||||
// debug_log("/tmp/debugperformance","cstaData=$cstaData");
|
||||
}
|
||||
|
||||
|
||||
return $cstaData;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user