Commit 114a80ab authored by wanghao's avatar wanghao

1 预计老化结束时间调整

parent c257e172
...@@ -88,6 +88,7 @@ public class AllCommandHandler { ...@@ -88,6 +88,7 @@ public class AllCommandHandler {
// 把预计老化结束时间保存到数据库中,因为可能会不同的老化时间 // 把预计老化结束时间保存到数据库中,因为可能会不同的老化时间
Date estimatedEndTime = getAgingEndTime(); Date estimatedEndTime = getAgingEndTime();
log.info("预计老化结束时间:{}", estimatedEndTime);
TStoreyInfo tStoreyInfo = tStoreyInfoMapper.selectTStoreyInfoByCode(storeyCode); TStoreyInfo tStoreyInfo = tStoreyInfoMapper.selectTStoreyInfoByCode(storeyCode);
tStoreyInfo.setfStatus("1"); tStoreyInfo.setfStatus("1");
tStoreyInfo.setfAgingStartTime(new Date()); tStoreyInfo.setfAgingStartTime(new Date());
...@@ -125,7 +126,9 @@ public class AllCommandHandler { ...@@ -125,7 +126,9 @@ public class AllCommandHandler {
sysConfigs.size() > AGING_STAGE_INDEX) { sysConfigs.size() > AGING_STAGE_INDEX) {
SysConfig config = sysConfigs.get(AGING_STAGE_INDEX); SysConfig config = sysConfigs.get(AGING_STAGE_INDEX);
log.info("获取老化时间配置config.getConfigValue:{}", config.getConfigValue());
if (config != null && StringUtils.isNotBlank(config.getConfigValue())) { if (config != null && StringUtils.isNotBlank(config.getConfigValue())) {
log.info("Integer.parseInt(config.getConfigValue()):{}", Integer.parseInt(config.getConfigValue()));
return Integer.parseInt(config.getConfigValue()); return Integer.parseInt(config.getConfigValue());
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment