Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-spark-tag-4.0
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaokang
gic-spark-tag-4.0
Commits
9f680e2e
Commit
9f680e2e
authored
Aug 24, 2020
by
guos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员标签4.0
parent
576fddfa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
TagValueParser.java
src/main/java/com/gic/spark/tag/TagValueParser.java
+4
-0
No files found.
src/main/java/com/gic/spark/tag/TagValueParser.java
View file @
9f680e2e
...
...
@@ -338,6 +338,7 @@ public class TagValueParser {
private
static
AbstractFilterRequest
getConsumeRequest
(
List
<
TagConditionValDTO
>
conditionValDTOList
)
{
TagConsumeRequest
request
=
new
TagConsumeRequest
();
for
(
TagConditionValDTO
conditionValDTO:
conditionValDTOList
){
System
.
out
.
println
(
"conditionValDTO==>"
+
JSONObject
.
toJSONString
(
conditionValDTO
));
if
(
Pattern
.
compile
(
"flag"
).
matcher
(
conditionValDTO
.
getKey
()).
find
()){
setStatisticsTypeHandle
(
request
,
conditionValDTO
.
getKey
(),
conditionValDTO
.
getVal
());
}
else
{
...
...
@@ -351,6 +352,7 @@ public class TagValueParser {
}
}
System
.
out
.
println
(
"TagConsumeRequest==>"
+
JSONObject
.
toJSONString
(
request
));
return
request
;
}
...
...
@@ -562,6 +564,7 @@ public class TagValueParser {
private
static
void
setStatisticsTypeHandle
(
AbstractFilterRequest
request
,
String
key
,
String
val
){
String
[]
keys
=
key
.
split
(
"flag"
);
String
[]
vals
=
val
.
split
(
","
);
System
.
out
.
println
(
keys
[
0
].
replaceAll
(
"\\."
,
""
));
switch
(
keys
[
0
].
replaceAll
(
"\\."
,
""
)){
case
TagConstant
.
TAG_STATISTICS_CHANNEL
:
request
.
setStatisticsType
(
StatisticsType
.
CHANNEL
);
...
...
@@ -577,6 +580,7 @@ public class TagValueParser {
break
;
default
:
break
;
}
System
.
out
.
println
(
"AbstractFilterRequest==>"
+
JSONObject
.
toJSONString
(
request
));
}
private
static
void
setDomainHandle
(
AbstractFilterRequest
request
,
String
key
,
String
val
){
...
...
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