Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Z
zhmes-agecal
Project
Project
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
耿迪迪
zhmes-agecal
Commits
5a25f9cd
Commit
5a25f9cd
authored
Jan 13, 2026
by
wanghao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1 预计老化结束时间调整
parent
114a80ab
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
AllCommandHandler.java
...c/main/java/com/zehong/system/task/AllCommandHandler.java
+1
-3
No files found.
zhmes-agecal-system/src/main/java/com/zehong/system/task/AllCommandHandler.java
View file @
5a25f9cd
...
...
@@ -117,7 +117,7 @@ public class AllCommandHandler {
public
Date
getAgingEndTime
()
{
List
<
SysConfig
>
sysConfigs
=
configService
.
selectAgingStageTime
();
int
milliseconds
=
getAgingMilliseconds
(
sysConfigs
);
return
DateUtils
.
addMi
llisecond
s
(
new
Date
(),
milliseconds
);
return
DateUtils
.
addMi
nute
s
(
new
Date
(),
milliseconds
);
}
private
int
getAgingMilliseconds
(
List
<
SysConfig
>
sysConfigs
)
{
...
...
@@ -126,9 +126,7 @@ public class AllCommandHandler {
sysConfigs
.
size
()
>
AGING_STAGE_INDEX
)
{
SysConfig
config
=
sysConfigs
.
get
(
AGING_STAGE_INDEX
);
log
.
info
(
"获取老化时间配置config.getConfigValue:{}"
,
config
.
getConfigValue
());
if
(
config
!=
null
&&
StringUtils
.
isNotBlank
(
config
.
getConfigValue
()))
{
log
.
info
(
"Integer.parseInt(config.getConfigValue()):{}"
,
Integer
.
parseInt
(
config
.
getConfigValue
()));
return
Integer
.
parseInt
(
config
.
getConfigValue
());
}
}
...
...
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