From 38305cb6b496233c2949989c41ddfdf4c8f27aa8 Mon Sep 17 00:00:00 2001 From: sunga Date: Sun, 17 Sep 2023 16:38:54 +0900 Subject: [PATCH] =?UTF-8?q?fix:=20=EC=A0=88=EC=A0=9C=EA=B8=B0=EB=A1=9D=20?= =?UTF-8?q?=EC=A1=B0=ED=9A=8C=20=EC=8B=9C=20=EB=93=B1=EB=A1=9D=EC=9D=BC=20?= =?UTF-8?q?=EB=82=A0=EC=A7=9C=ED=98=95=EC=8B=9D=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../repository/ModerationRecordJpaRepository.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/bside/NotToDoClub/domain_name/moderationrecord/repository/ModerationRecordJpaRepository.java b/src/main/java/bside/NotToDoClub/domain_name/moderationrecord/repository/ModerationRecordJpaRepository.java index 7b24e97..6ce826e 100644 --- a/src/main/java/bside/NotToDoClub/domain_name/moderationrecord/repository/ModerationRecordJpaRepository.java +++ b/src/main/java/bside/NotToDoClub/domain_name/moderationrecord/repository/ModerationRecordJpaRepository.java @@ -11,7 +11,7 @@ public interface ModerationRecordJpaRepository extends JpaRepository { - @Query(value = "select m.moderation_record_id as moderationId, u.user_not_to_do_id as notToDoId, u.not_to_do_text as notToDoText, m.content as content, date_format(m.reg_dtm, '%Y-%m-%d %H:%m:%s') as regDtm, m.record_type as recordType, m.use_yn as useYn " + + @Query(value = "select m.moderation_record_id as moderationId, u.user_not_to_do_id as notToDoId, u.not_to_do_text as notToDoText, m.content as content, date_format(m.reg_dtm, '%Y-%m-%d %T') as regDtm, m.record_type as recordType, m.use_yn as useYn " + "from MODERATION_RECORD m " + "join USER_NOT_TO_DO u on m.user_not_to_do_id = u.user_not_to_do_id " + "where u.user_id = :userId " +