Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
middleware-automatic
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
shenjunjie
middleware-automatic
Commits
22678e85
Commit
22678e85
authored
May 09, 2023
by
liuyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023年05/09 临时特征值记录新增esId和创建时间
parent
28045e38
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
3 deletions
+16
-3
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/dao/TemplateTempRecord.java
+14
-2
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/task/service/TaskServiceCommon.java
+2
-1
No files found.
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/dao/TemplateTempRecord.java
View file @
22678e85
...
@@ -15,27 +15,35 @@ public class TemplateTempRecord {
...
@@ -15,27 +15,35 @@ public class TemplateTempRecord {
private
String
url
;
private
String
url
;
private
String
esId
;
private
String
mtag
;
private
String
mtag
;
private
Long
createAt
;
public
TemplateTempRecord
()
{}
public
TemplateTempRecord
()
{}
public
TemplateTempRecord
(
String
id
,
String
templateId
,
String
templateTitle
,
public
TemplateTempRecord
(
String
id
,
String
templateId
,
String
templateTitle
,
String
group
,
String
url
,
String
mtag
)
{
String
group
,
String
url
,
String
esId
,
String
mtag
)
{
this
.
id
=
id
;
this
.
id
=
id
;
this
.
templateId
=
templateId
;
this
.
templateId
=
templateId
;
this
.
templateTitle
=
templateTitle
;
this
.
templateTitle
=
templateTitle
;
this
.
group
=
group
;
this
.
group
=
group
;
this
.
url
=
url
;
this
.
url
=
url
;
this
.
esId
=
esId
;
this
.
mtag
=
mtag
;
this
.
mtag
=
mtag
;
this
.
createAt
=
System
.
currentTimeMillis
();
}
}
public
TemplateTempRecord
(
String
templateId
,
String
templateTitle
,
public
TemplateTempRecord
(
String
templateId
,
String
templateTitle
,
String
group
,
String
url
,
String
mtag
)
{
String
group
,
String
url
,
String
esId
,
String
mtag
)
{
this
.
templateId
=
templateId
;
this
.
templateId
=
templateId
;
this
.
templateTitle
=
templateTitle
;
this
.
templateTitle
=
templateTitle
;
this
.
group
=
group
;
this
.
group
=
group
;
this
.
url
=
url
;
this
.
url
=
url
;
this
.
esId
=
esId
;
this
.
mtag
=
mtag
;
this
.
mtag
=
mtag
;
this
.
createAt
=
System
.
currentTimeMillis
();
}
}
public
String
getId
()
{
public
String
getId
()
{
...
@@ -61,4 +69,8 @@ public class TemplateTempRecord {
...
@@ -61,4 +69,8 @@ public class TemplateTempRecord {
public
String
getMtag
()
{
public
String
getMtag
()
{
return
mtag
;
return
mtag
;
}
}
public
Long
getCreateAt
()
{
return
createAt
;
}
}
}
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/task/service/TaskServiceCommon.java
View file @
22678e85
...
@@ -214,7 +214,8 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo
...
@@ -214,7 +214,8 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo
// 模板标注count累加
// 模板标注count累加
redissonUtil
.
putCount
(
Tools
.
assembleKey
(
COUNT_KEY
,
group
,
templateTitleVo
.
getId
()),
1
);
redissonUtil
.
putCount
(
Tools
.
assembleKey
(
COUNT_KEY
,
group
,
templateTitleVo
.
getId
()),
1
);
// 测试环境临时添加,用于对比
// 测试环境临时添加,用于对比
templateRecordDao
.
tempRecord
(
new
TemplateTempRecord
(
templateTitleVo
.
getId
(),
templateTitleVo
.
getTemplateTitle
(),
group
,
getUrl
(
markInfo
),
templateTitleVo
.
getMtag
()));
templateRecordDao
.
tempRecord
(
new
TemplateTempRecord
(
templateTitleVo
.
getId
(),
templateTitleVo
.
getTemplateTitle
(),
group
,
getUrl
(
markInfo
),
sourceObj
.
getString
(
"id"
),
templateTitleVo
.
getMtag
()));
return
true
;
return
true
;
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"记录事件采集-标注数据特征值失败"
,
e
);
log
.
error
(
"记录事件采集-标注数据特征值失败"
,
e
);
...
...
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