댓글 대댓글 조회쿼리 최신순으로 변경
All checks were successful
LOCALNET-DEV/pipeline/head This commit looks good

This commit is contained in:
nevermoregb 2025-03-10 11:18:05 +09:00
parent 2a9fc778fb
commit 8f3f5901da

View File

@ -167,10 +167,10 @@
FROM localcomt c
LEFT JOIN netmember m ON c.MEMBERSEQ = m.MEMBERSEQ
WHERE LOCBRDSEQ = #{LOCBRDSEQ} and LOCCMTPNT = 1
ORDER BY LOCCMTPNT ASC, LOCCMTUDT ASC
ORDER BY LOCCMTUDT DESC, LOCCMTPNT ASC
</select>
<!-- 대댓글 조회 -->
<!-- 대댓글 조회 -->
<select id="selectReply" resultType="io.company.localhost.common.dto.MapDto">
SELECT
c.LOCCMTSEQ,c.LOCBRDSEQ,c.LOCCMTPNT,c.LOCCMTRPY,
@ -180,7 +180,7 @@
FROM localcomt c
LEFT JOIN netmember m ON c.MEMBERSEQ = m.MEMBERSEQ
WHERE LOCCMTPNT = #{LOCCMTPNT} and LOCCMTPNT != 1
ORDER BY LOCCMTPNT ASC, LOCCMTUDT ASC
ORDER BY LOCCMTUDT DESC, LOCCMTPNT ASC
</select>
<!-- 댓글/대댓글 작성 -->