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
a85a9d54
Commit
a85a9d54
authored
Jul 04, 2023
by
liuyu
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature' into 'release'
2023年07/04 弃用模板重置计数器 See merge request
!82
parents
35d30636
cadd29e3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
+1
-0
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/service/impl/TemplateTitleServiceImpl.java
+1
-0
No files found.
middleware-automatic-center-son/src/main/java/com/zhiwei/middleware/automatic/son/service/impl/TemplateTitleServiceImpl.java
View file @
a85a9d54
...
@@ -188,6 +188,7 @@ public class TemplateTitleServiceImpl implements TemplateTitleService {
...
@@ -188,6 +188,7 @@ public class TemplateTitleServiceImpl implements TemplateTitleService {
public
void
transferTemplate
(
String
group
,
TemplateTitleVo
templateTitleVo
)
{
public
void
transferTemplate
(
String
group
,
TemplateTitleVo
templateTitleVo
)
{
String
lockKey
=
Tools
.
assembleKey
(
GenericAttribute
.
LOCK
,
templateTitleVo
.
getTemplateTitle
());
String
lockKey
=
Tools
.
assembleKey
(
GenericAttribute
.
LOCK
,
templateTitleVo
.
getTemplateTitle
());
try
{
try
{
templateTitleVo
.
setDaySum
(
0L
);
redissonUtil
.
setMapValue
(
Tools
.
assembleKey
(
GenericAttribute
.
REDIS_MAP_LOSE_KEY
,
group
),
templateTitleVo
.
getTemplateTitle
(),
JSONObject
.
toJSONString
(
templateTitleVo
));
redissonUtil
.
setMapValue
(
Tools
.
assembleKey
(
GenericAttribute
.
REDIS_MAP_LOSE_KEY
,
group
),
templateTitleVo
.
getTemplateTitle
(),
JSONObject
.
toJSONString
(
templateTitleVo
));
redissonUtil
.
removeMapValue
(
Tools
.
assembleKey
(
GenericAttribute
.
REDIS_MAP_KEY
,
group
),
templateTitleVo
.
getTemplateTitle
());
redissonUtil
.
removeMapValue
(
Tools
.
assembleKey
(
GenericAttribute
.
REDIS_MAP_KEY
,
group
),
templateTitleVo
.
getTemplateTitle
());
}
catch
(
Exception
e
)
{
}
catch
(
Exception
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