Merge branch 'master' into docker_package
This commit is contained in:
commit
3941260b63
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue