|
@@ -796,7 +796,7 @@ public class BoilerTaskOrderIssueReportServiceImpl extends ServiceImpl<BoilerTas
|
|
|
log.error("邮件发送间隔睡眠被中断", e);
|
|
log.error("邮件发送间隔睡眠被中断", e);
|
|
|
throw new RuntimeException(e);
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
}
|
|
|
- if (Objects.equals(env, "uat")) {
|
|
|
|
|
|
|
+ if (EnvConstants.ENV_UAT.equals(env) || EnvConstants.ENV_PROD.equals(env)) {
|
|
|
this.issueReportPush(taskOrderItemDO.getId());
|
|
this.issueReportPush(taskOrderItemDO.getId());
|
|
|
}
|
|
}
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
@@ -880,7 +880,7 @@ public class BoilerTaskOrderIssueReportServiceImpl extends ServiceImpl<BoilerTas
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
taskOrderItemMapper.updateById(updateOb);
|
|
taskOrderItemMapper.updateById(updateOb);
|
|
|
- if (Objects.equals(env, "uat")) {
|
|
|
|
|
|
|
+ if (EnvConstants.ENV_UAT.equals(env) || EnvConstants.ENV_PROD.equals(env)) {
|
|
|
this.issueReportPush(taskOrderItemDO.getId());
|
|
this.issueReportPush(taskOrderItemDO.getId());
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
@@ -1453,7 +1453,7 @@ public class BoilerTaskOrderIssueReportServiceImpl extends ServiceImpl<BoilerTas
|
|
|
log.error("邮件发送间隔睡眠被中断", e);
|
|
log.error("邮件发送间隔睡眠被中断", e);
|
|
|
throw new RuntimeException(e);
|
|
throw new RuntimeException(e);
|
|
|
}
|
|
}
|
|
|
- if (Objects.equals(env, "uat")) {
|
|
|
|
|
|
|
+ if (EnvConstants.ENV_UAT.equals(env) || EnvConstants.ENV_PROD.equals(env)) {
|
|
|
this.issueReportPush(taskOrderItemDO.getId());
|
|
this.issueReportPush(taskOrderItemDO.getId());
|
|
|
}
|
|
}
|
|
|
} catch (Exception e) {
|
|
} catch (Exception e) {
|
|
@@ -1537,7 +1537,7 @@ public class BoilerTaskOrderIssueReportServiceImpl extends ServiceImpl<BoilerTas
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
taskOrderItemMapper.updateById(updateOb);
|
|
taskOrderItemMapper.updateById(updateOb);
|
|
|
- if (Objects.equals(env, "uat")) {
|
|
|
|
|
|
|
+ if (EnvConstants.ENV_UAT.equals(env) || EnvConstants.ENV_PROD.equals(env)) {
|
|
|
this.issueReportPush(taskOrderItemDO.getId());
|
|
this.issueReportPush(taskOrderItemDO.getId());
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|