Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
simmctic
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
simmctic
simmctic
Merge requests
!170
Change Rejected Net Usage
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Change Rejected Net Usage
change-rejected-net-usage
into
develop
Overview
0
Commits
1
Pipelines
0
Changes
Merged
Rafael De Lima Prado
requested to merge
change-rejected-net-usage
into
develop
10 years ago
Overview
0
Commits
1
Pipelines
0
Changes
-
Expand
0
0
Merge request reports
Compare
develop
develop (base)
and
latest version
latest version
8e146ae8
1 commit,
+
4
−
2
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
Search (e.g. *.vue) (Ctrl+P)
database/functions/dw/000-sa.sql
+
3
−
2
Options
@@ -104,6 +104,7 @@ BEGIN
en.id as id_ent_net,
n.ip,
CAST(n.macaddr as MACADDR),
n.city_code,
n.collect_date,
n.collect_time,
n.down_kbits,
@@ -349,10 +350,10 @@ BEGIN
-- log the invalid information into rejected table
INSERT INTO rejected_net_usage
(contact_date, id_point, id_city, id_ent_net, macaddr, ip, collect_date, collect_time,
(contact_date, id_point, id_city,
city_code,
id_ent_net, macaddr, ip, collect_date, collect_time,
down_kbits, down_packages, up_kbits, up_packages)
(SELECT
contact_date, id_point, id_city, id_ent_net, macaddr, ip, collect_date, collect_time,
contact_date, id_point, id_city,
city_code,
id_ent_net, macaddr, ip, collect_date, collect_time,
down_kbits, down_packages, up_kbits, up_packages
FROM
sa_net_usage
Loading