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
4c0a67e3
Commit
4c0a67e3
authored
Jun 29, 2023
by
liuyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2023年06/29 模板初始化 删除以弃用模型
parent
e2038c0a
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/task/service/TaskServiceCommon.java
+5
-0
No files found.
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/task/service/TaskServiceCommon.java
View file @
4c0a67e3
...
@@ -167,13 +167,18 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo
...
@@ -167,13 +167,18 @@ public class TaskServiceCommon extends BaseTaskTypePair<TaskServiceCommon.TaskCo
}
}
private
void
clearTemplateDaySum
(
Map
<
String
,
TemplateTitleVo
>
template
)
{
private
void
clearTemplateDaySum
(
Map
<
String
,
TemplateTitleVo
>
template
)
{
Set
<
String
>
removeKey
=
new
HashSet
<>();
for
(
Map
.
Entry
<
String
,
TemplateTitleVo
>
entry
:
template
.
entrySet
())
{
for
(
Map
.
Entry
<
String
,
TemplateTitleVo
>
entry
:
template
.
entrySet
())
{
try
{
try
{
entry
.
getValue
().
setDaySum
(
0L
);
entry
.
getValue
().
setDaySum
(
0L
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
log
.
error
(
"模板初始化失败:{},"
,
entry
,
e
);
log
.
error
(
"模板初始化失败:{},"
,
entry
,
e
);
removeKey
.
add
(
entry
.
getKey
());
}
}
}
}
if
(!
removeKey
.
isEmpty
())
{
removeKey
.
forEach
(
template:
:
remove
);
}
}
}
/**
/**
...
...
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