Merge branch 'dev'
Deploy / deploy (push) Failing after 12m43s
CI / build (push) Failing after 14m31s

This commit is contained in:
ByungCheol
2026-06-27 23:00:14 +09:00
@@ -137,6 +137,11 @@ public class BoardService {
post.setContent(req.getContent()); post.setContent(req.getContent());
postMapper.update(post); postMapper.update(post);
// 공지는 관리자만 변경 (수정 화면 체크박스 반영)
if (isAdmin(user)) {
postMapper.updateNotice(id, Boolean.TRUE.equals(req.getNotice()));
}
tagMapper.deletePostTagsByPostId(id); tagMapper.deletePostTagsByPostId(id);
applyTags(id, req.getTagIds()); applyTags(id, req.getTagIds());
return assemble(mustFindPost(id)); return assemble(mustFindPost(id));