...
|
...
|
@@ -48,7 +48,7 @@ public class PublicArticleLabelService { |
|
|
public void updateData(PublicArticleLabel targetObject) {
|
|
|
final PublicArticleLabel existObject = publicArticleLabelRepository.findByLabelIdAndArticleId(targetObject.getLabelId(), targetObject.getArticleId());
|
|
|
if (existObject != null) {
|
|
|
log.error("something goes wrong, in this operation, there's no update , just only insert , with param {}", targetObject.toString());
|
|
|
log.info("something goes wrong, in this operation, there's no update , just only insert , with param {}, maybe audit status change", targetObject.toString());
|
|
|
return;
|
|
|
}
|
|
|
publicArticleLabelRepository.save(targetObject);
|
...
|
...
|
|