parent
c172bed8c7
commit
3a4775599f
|
@ -1693,10 +1693,10 @@ public class ApiDefinitionService {
|
||||||
}
|
}
|
||||||
if (CollectionUtils.isNotEmpty(apiImportSendNoticeDTOS)) {
|
if (CollectionUtils.isNotEmpty(apiImportSendNoticeDTOS)) {
|
||||||
for (ApiImportSendNoticeDTO apiImportSendNoticeDTO : apiImportSendNoticeDTOS) {
|
for (ApiImportSendNoticeDTO apiImportSendNoticeDTO : apiImportSendNoticeDTOS) {
|
||||||
if (apiImportSendNoticeDTO.getApiDefinitionResult() != null && apiImportSendNoticeDTO.getApiDefinitionResult().isUpdated()) {
|
if (apiImportSendNoticeDTO.getApiDefinitionResult() != null && !apiImportSendNoticeDTO.getApiDefinitionResult().isUpdated()) {
|
||||||
sendImportApiCreateNotice(apiImportSendNoticeDTO.getApiDefinitionResult());
|
sendImportApiCreateNotice(apiImportSendNoticeDTO.getApiDefinitionResult());
|
||||||
}
|
}
|
||||||
if (apiImportSendNoticeDTO.getApiDefinitionResult() != null && !apiImportSendNoticeDTO.getApiDefinitionResult().isUpdated()) {
|
if (apiImportSendNoticeDTO.getApiDefinitionResult() != null && apiImportSendNoticeDTO.getApiDefinitionResult().isUpdated()) {
|
||||||
sendImportApiUpdateNotice(apiImportSendNoticeDTO.getApiDefinitionResult());
|
sendImportApiUpdateNotice(apiImportSendNoticeDTO.getApiDefinitionResult());
|
||||||
}
|
}
|
||||||
if (CollectionUtils.isNotEmpty(apiImportSendNoticeDTO.getCaseDTOList())) {
|
if (CollectionUtils.isNotEmpty(apiImportSendNoticeDTO.getCaseDTOList())) {
|
||||||
|
|
Loading…
Reference in New Issue