diff --git a/wxc2_omc/performance/generalCsta/general_csta_up.php b/wxc2_omc/performance/generalCsta/general_csta_up.php
index 79f27a2..a13c770 100755
--- a/wxc2_omc/performance/generalCsta/general_csta_up.php
+++ b/wxc2_omc/performance/generalCsta/general_csta_up.php
@@ -32,7 +32,9 @@ function sel_date_from_change()
{
keyTwo=document.myform.keyTwo.value;
}
-
+ else if(sysTypeNo == 362 && page_id == 0){
+ keyTwo=document.myform.keyTwo.value;
+ }
//var scrollY=document.body.scrollTop;
if(down_date_from<=down_date_to)
down_date_to=down_date_from;
@@ -240,6 +242,17 @@ else if($sysTypeNo == 364)
}//if page==1
}
+else if($sysTypeNo == 362){
+ echo "System ID  ";
+}
else
{
echo "";
diff --git a/wxc2_omc/performance/generalCsta/spgw_day.php b/wxc2_omc/performance/generalCsta/spgw_day.php
index ec6c1c5..d82c0da 100644
--- a/wxc2_omc/performance/generalCsta/spgw_day.php
+++ b/wxc2_omc/performance/generalCsta/spgw_day.php
@@ -3,6 +3,7 @@ $cstaConf=GetCstaConf($sysTypeNo);
if(0)
{
echo "sel_date_from=$sel_date_from,sel_date_to=$sel_date_to
";
+ echo "keyTwo=$keyTwo
";
echo "
"; print_r($cstaConf); echo ""; @@ -14,7 +15,7 @@ $endTime=date("Y-m-d H:i:s",mktime(23,59,59,date("m"),date("d")-$sel_date_to,dat //echo "startTime=$startTime,endTime=$endTime
";
@@ -41,15 +42,16 @@ function printVolumeWithUnits($bytes) {
$echartDown=printVolumeWithUnits($cstaData[0][downlink_total_volume]+0);
$echartUp=printVolumeWithUnits($cstaData[0][uplink_total_volume]+0);
-
+//echo $_REQUEST['keyTwo'];
global $cstaDbConn;
$dataTable=$cstaConf[DataObject][0][DetailDataTable];
$fieldList=$cstaConf[DataObject][0][DetailFieldList];
if(strlen($fieldList)){
$fieldList="$fieldList,csta_datetime";
}
-$sql="select {$fieldList} from CSTA_DB.{$dataTable} where csta_datetime >= '{$startTime}' and csta_datetime <= '{$endTime}' order by csta_datetime asc ";
+$sql="select {$fieldList} from CSTA_DB.{$dataTable} where csta_datetime >= '{$startTime}' and csta_datetime <= '{$endTime}' and key_sys_id = {$keyTwo} order by csta_datetime asc ";
$res=mysqli_query($cstaDbConn,$sql);
+//echo $sql;
//echo mysqli_error($cstaDbConn);
$num=mysqli_num_rows($res);
//set downArr upArr