添加SGSN-CDR文件

This commit is contained in:
lai
2024-12-17 17:16:40 +08:00
parent bcce4f35c5
commit 801b9f5f36
3 changed files with 54 additions and 11 deletions

View File

@@ -189,6 +189,10 @@ case '360': //PPS
case '375':
$showNameList="Operation Type,IMEI,MSISDN,IMSI,User Type,Seizure,Result";
break;
case '400':
$showNameList="Operation Type,IMSI,GPRS Uplink,GPRS Downlink,Access Point NameOI,Duration";
break;
default:
break;
@@ -245,15 +249,21 @@ while(($dispNum<$dispNumOfPerPage)&&($cntTbNum_1<24)){
$typeFld = " $typeTb.description_2 ";
$srcFld = " $srcTb.description_2 ";
}
if($sysId==400){
$order = " ORDER BY recordOpeningTime DESC";
}else{
$order = " ORDER BY $sortFld ";
}
$order = " ORDER BY $sortFld ";
if($keyWord){
if($queryField=="callingNumber")
$rrType=6;
else
$rrType=7;
$aWhere = " AND ($queryField like '%$keyWord%' or(recordType=$rrType and serviceCentre like '%$keyWord%'))";
if($sysId==375)
if($sysId==375||$sysId==400)
$aWhere = " AND $queryField like '%$keyWord%' ";
else if($sysId==386)
{
@@ -302,7 +312,7 @@ while(($dispNum<$dispNumOfPerPage)&&($cntTbNum_1<24)){
$order=" ORDER BY releaseTime DESC ";
$selSql = $select.$where.$order.$limit;
}
if(0)
if($DEBUG)
echo "<br>down selSql=$selSql<br>";
$selRes = @mysqli_query($cdrDbConn,$selSql);
@@ -2181,6 +2191,32 @@ while(($dispNum<$dispNumOfPerPage)&&($cntTbNum_1<24)){
}
break;
//PPS CDR END
case '400':
if($tRecord){
do{
$recordType = $selRow[recordType];
$servedIMSI = $selRow[imsiDigit];
$showType = $selRow[showType];
$dataVolumeGPRSUplink= $selRow[dataVolumeGPRSUplink];
$dataVolumeGPRSDownlink= $selRow[dataVolumeGPRSDownlink];
$duration = $selRow[duration];
$accessPointNameOI = $selRow[accessPointNameOI];
echo "<tr>";
echo "<td>$showType</td>";
echo "<td>$servedIMSI</td>";
echo "<td>$dataVolumeGPRSUplink</td>";
echo "<td>$dataVolumeGPRSDownlink</td>";
echo "<td>$accessPointNameOI</td>";
echo "<td>$duration</td>";
}while(@$selRow = @mysqli_fetch_array($selRes));
}
break;
default:
break;
}//END switch*/