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
505814f4
Commit
505814f4
authored
May 09, 2023
by
liuyu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'release' into 'master'
Release See merge request
!21
parents
c8fd22a4
1acf3977
Show 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 @
505814f4
...
...
@@ -15,27 +15,35 @@ public class TemplateTempRecord {
private
String
url
;
private
String
esId
;
private
String
mtag
;
private
Long
createAt
;
public
TemplateTempRecord
()
{}
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
.
templateId
=
templateId
;
this
.
templateTitle
=
templateTitle
;
this
.
group
=
group
;
this
.
url
=
url
;
this
.
esId
=
esId
;
this
.
mtag
=
mtag
;
this
.
createAt
=
System
.
currentTimeMillis
();
}
public
TemplateTempRecord
(
String
templateId
,
String
templateTitle
,
String
group
,
String
url
,
String
mtag
)
{
String
group
,
String
url
,
String
esId
,
String
mtag
)
{
this
.
templateId
=
templateId
;
this
.
templateTitle
=
templateTitle
;
this
.
group
=
group
;
this
.
url
=
url
;
this
.
esId
=
esId
;
this
.
mtag
=
mtag
;
this
.
createAt
=
System
.
currentTimeMillis
();
}
public
String
getId
()
{
...
...
@@ -61,4 +69,8 @@ public class TemplateTempRecord {
public
String
getMtag
()
{
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 @
505814f4
...
...
@@ -214,7 +214,8 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo
// 模板标注count累加
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
;
}
catch
(
Exception
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