...
|
...
|
@@ -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");
|
|
|
log.error("something goes wrong, in this operation, there's no update , just only insert , with param {}", targetObject);
|
|
|
return;
|
|
|
}
|
|
|
publicArticleLabelRepository.save(targetObject);
|
...
|
...
|
|