testcase update & sonarqube plugin add

This commit is contained in:
shinmj
2021-11-17 14:09:11 +09:00
parent 02e03dac79
commit e58bac9e5b
3 changed files with 11 additions and 4 deletions

View File

@@ -203,7 +203,9 @@ public class PostsService extends AbstractService {
/**
* 첨부파일 entity 정보 저장 이벤트 발생
*/
sendAttachmentEvent(entity);
if (StringUtils.hasText(entity.getAttachmentCode())) {
sendAttachmentEvent(entity);
}
return new PostsResponseDto(entity);
}