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
8d9d1667
Commit
8d9d1667
authored
Aug 21, 2020
by
guos
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会员标签4.0
parent
2386e459
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
TagGroupInfo.java
src/main/java/com/gic/spark/entity/TagGroupInfo.java
+3
-3
TagProcessManager.java
src/main/java/com/gic/spark/tag/TagProcessManager.java
+2
-2
No files found.
src/main/java/com/gic/spark/entity/TagGroupInfo.java
View file @
8d9d1667
...
...
@@ -10,12 +10,12 @@ import java.io.Serializable;
public
class
TagGroupInfo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
8710695590658340671L
;
private
Integer
mcu_
id
;
private
Long
id
;
private
Integer
enterprise_id
;
private
String
tag_group_info
;
public
TagGroupInfo
(
Integer
mcu_
id
,
Integer
enterprise_id
,
String
tag_group_info
)
{
this
.
mcu_id
=
mcu_
id
;
public
TagGroupInfo
(
Long
id
,
Integer
enterprise_id
,
String
tag_group_info
)
{
this
.
id
=
id
;
this
.
enterprise_id
=
enterprise_id
;
this
.
tag_group_info
=
tag_group_info
;
}
...
...
src/main/java/com/gic/spark/tag/TagProcessManager.java
View file @
8d9d1667
...
...
@@ -256,8 +256,8 @@ public class TagProcessManager {
while
(
data
.
hasNext
()){
Tuple2
<
Long
,
String
>
tp2
=
data
.
next
();
JSONObject
json
=
JSONObject
.
parseObject
(
tp2
.
_2
());
if
(
StringUtils
.
isNotEmpty
(
json
.
getString
(
"
tagGroup
"
))){
tagGroupInfoList
.
add
(
new
TagGroupInfo
(
json
.
get
Integer
(
"mcuId"
),
enterpriseId
,
json
.
getString
(
"tagGroup
"
)));
if
(
StringUtils
.
isNotEmpty
(
json
.
getString
(
"
sceneTags_b
"
))){
tagGroupInfoList
.
add
(
new
TagGroupInfo
(
json
.
get
Long
(
"id"
),
enterpriseId
,
json
.
getString
(
"sceneTags_b
"
)));
}
}
return
tagGroupInfoList
.
iterator
();
...
...
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