feat: 시세 자동조회·퇴직연금 평가액·게시판 카테고리·태그 정렬·계좌번호 암호화

- 투자: 종목코드로 현재가 시세 자동조회(StockQuoteService, 투자탭/포트폴리오 진입 시 갱신)
- 투자: 퇴직연금 등 평가액 직접입력형 계좌(currentValue 활성화, manualValuation)
- 게시판: community/saving/tips 카테고리 분리(post.category + 목록 필터)
- 태그: 순서 변경(account_tag.sort_order, /tags/reorder)
- 보안: 계좌번호 AES-256-GCM 암호화 저장/복호화(EncryptedStringTypeHandler, account_number VARCHAR(255))
  키는 서버 .env ACCOUNT_CRYPTO_KEY 로 주입(미설정 시 평문 통과)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
ByungCheol
2026-06-04 05:00:18 +09:00
parent 8fec057752
commit fb94df8112
24 changed files with 401 additions and 29 deletions
+7 -4
View File
@@ -9,8 +9,11 @@
JOIN tag t ON t.id = pt.tag_id
</if>
<where>
<if test="category != null and category != ''">
AND p.category = #{category}
</if>
<if test="tag != null and tag != ''">
t.name = #{tag}
AND t.name = #{tag}
</if>
<if test="keyword != null and keyword != ''">
<choose>
@@ -48,15 +51,15 @@
<select id="findById" parameterType="long" resultType="com.sb.web.board.domain.Post">
SELECT id, title, content, author_id, author_name, view_count,
blocked, block_reason, created_at, updated_at
blocked, block_reason, category, created_at, updated_at
FROM post
WHERE id = #{id}
</select>
<insert id="insert" parameterType="com.sb.web.board.domain.Post"
useGeneratedKeys="true" keyProperty="id">
INSERT INTO post (title, content, author_id, author_name, view_count, created_at, updated_at)
VALUES (#{title}, #{content}, #{authorId}, #{authorName}, 0, NOW(), NOW())
INSERT INTO post (title, content, author_id, author_name, view_count, category, created_at, updated_at)
VALUES (#{title}, #{content}, #{authorId}, #{authorName}, 0, #{category}, NOW(), NOW())
</insert>
<update id="update" parameterType="com.sb.web.board.domain.Post">