Browse Source

debug 重试到10

master
PoffyZhang 1 year ago
parent
commit
199713c8f7
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      pmapi/src/main/java/com/ningdatech/pmapi/staging/service/impl/NdWorkNoticeStagingServiceImpl.java
  2. +1
    -1
      pmapi/src/main/java/com/ningdatech/pmapi/staging/service/impl/ProjectStagingServiceImpl.java

+ 2
- 2
pmapi/src/main/java/com/ningdatech/pmapi/staging/service/impl/NdWorkNoticeStagingServiceImpl.java View File

@@ -44,7 +44,7 @@ public class NdWorkNoticeStagingServiceImpl extends ServiceImpl<NdWorkNoticeStag
@Override
public Boolean addRetryTimes(WorkNoticeStaging workNoticeStaging) {
Integer retryTimes = workNoticeStaging.getRetryTimes() + 1;
if (!workNoticeFlowMapUtil.intervalTimeMap.containsKey(retryTimes)) {
if (!workNoticeFlowMapUtil.intervalTimeMap.containsKey(workNoticeStaging.getRetryTimes())) {
log.info("没有对应重试间隔时间 添加重试信息失败");
return Boolean.FALSE;
}
@@ -88,7 +88,7 @@ public class NdWorkNoticeStagingServiceImpl extends ServiceImpl<NdWorkNoticeStag
/**
* 在对应的流程处理后,增加一个工作通知到暂存表中
*
* @param workNoticeInfo
* @param workNoticeInfos
* @param msgType
* @return java.lang.Boolean
* @author CMM


+ 1
- 1
pmapi/src/main/java/com/ningdatech/pmapi/staging/service/impl/ProjectStagingServiceImpl.java View File

@@ -61,7 +61,7 @@ public class ProjectStagingServiceImpl extends ServiceImpl<ProjectStagingMapper,
@Override
public Boolean addRetryTimes(ProjectStaging projectStaging) {
Integer retryTimes = projectStaging.getRetryTimes() + 1;
if(!projectStatusFlowUtil.intervalTimeMap.containsKey(retryTimes)){
if(!projectStatusFlowUtil.intervalTimeMap.containsKey(projectStaging.getRetryTimes())){
log.info("没有对应重试间隔时间 添加重试信息失败");
return Boolean.FALSE;
}


Loading…
Cancel
Save