Merge branch 'master' into docker_package

This commit is contained in:
wangliwen 2022-07-21 11:44:46 +08:00
commit 3941260b63
1 changed files with 10 additions and 3 deletions

View File

@ -146,7 +146,12 @@ public class CorrectionListenerV2 implements TaskListener, ExecutionListener, Ac
jdbcTemplate.batchUpdate(sqls);
if (auditingBaseDTO.getReject() == null || auditingBaseDTO.getReject() != Boolean.TRUE) { // 都是同意
batchApplyCode(delegateExecution, dtoList);
try {
batchApplyCode(delegateExecution, dtoList);
} catch (Exception exception) {
logger.error("上架网关失败", exception);
}
}
}
@ -296,9 +301,11 @@ public class CorrectionListenerV2 implements TaskListener, ExecutionListener, Ac
allMsg.append('\n');
for (TAbilityApplicationDTO abilityApplicationDTO : dtoList) {
ResourceEntity resourceEntity = resourceService.selectById(abilityApplicationDTO.getResourceId());
if (resourceEntity == null) {
continue;
}
//没有groupid当做没有接口直接跳过
if (resourceEntity.getGroupId() == null)
if (null == resourceEntity.getGroupId())
continue;
String code = UUID.randomUUID().toString();