Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OpenXG-UDR
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenXG
OpenXG-UDR
Commits
4d08cf67
Commit
4d08cf67
authored
Sep 23, 2021
by
Tien-Thinh Nguyen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
parent
e85ce900
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/udr_app/udr_app.cpp
src/udr_app/udr_app.cpp
+4
-4
No files found.
src/udr_app/udr_app.cpp
View file @
4d08cf67
...
...
@@ -1499,15 +1499,15 @@ void udr_app::handle_query_sm_data(const std::string &ue_id,
SessionManagementSubscriptionData
sessionmanagementsubscriptiondata
=
{};
std
::
string
query
=
"select * from SessionManagementSubscriptionData WHERE ueid='"
+
ue_id
+
"' and servingPlmnid='"
+
serving_plmn_id
+
"'"
;
"' and servingPlmnid='"
+
serving_plmn_id
+
"'
"
;
std
::
string
option_str
=
{};
if
(
snssai
.
getSst
()
>
0
)
{
option_str
+=
"and JSON_EXTRACT(singleNssai,
\"
$.sst
\"
) ="
+
snssai
.
getSst
(
);
option_str
+=
" and JSON_EXTRACT(singleNssai,
\"
$.sst
\"
)="
+
std
::
to_string
(
snssai
.
getSst
()
);
}
if
(
!
dnn
.
empty
())
{
option_str
+=
"
and JSON_EXTRACT(dnnConfigurations,
\"
$."
+
dnn
+
") IS NOT NULL"
;
"
and JSON_EXTRACT(dnnConfigurations,
\"
$."
+
dnn
+
"
\
"
) IS NOT NULL"
;
}
query
+=
option_str
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment