Procházet zdrojové kódy

debug 重试到10

master
PoffyZhang před 1 rokem
rodič
revize
199713c8f7
2 změnil soubory, kde provedl 3 přidání a 3 odebrání
  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 Zobrazit soubor

@@ -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 Zobrazit soubor

@@ -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;
}


Načítá se…
Zrušit
Uložit