Skip to content

Commit

Permalink
Merge pull request #1153 from WeBankPartners/1142_proc_enc
Browse files Browse the repository at this point in the history
#1142 fix tiny bug as to guid
  • Loading branch information
gavin2lee authored Oct 29, 2020
2 parents ce9702b + 556a05a commit 9ca6382
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -405,10 +405,9 @@ public List<Map<String, Object>> updateCiDataByGuid(List<OperateCiDataUpdateDto>

if (StringUtils.isBlank(operateCiDataUpdateDto.getGuid())) {
String errorMessage = "Field 'guid' is required for CI data update.";
resultItem.put(ERROR_CODE, SUCCESS);
resultItem.put(ERROR_CODE, FAIL);
resultItem.put(ERROR_MESSAGE, errorMessage);
results.add(resultItem);
return;
}

String guid = operateCiDataUpdateDto.getGuid();
Expand All @@ -426,7 +425,6 @@ public List<Map<String, Object>> updateCiDataByGuid(List<OperateCiDataUpdateDto>
resultItem.put(ERROR_MESSAGE, errorMessage);
exceptionHolders.add(new ExceptionHolder(operateCiDataUpdateDto.getCallbackParameter(), operateCiDataUpdateDto, errorMessage, null));
results.add(resultItem);
return;
}
});

Expand Down

0 comments on commit 9ca6382

Please sign in to comment.