Skip to content

Commit

Permalink
fix: 절제기록 조회 시 등록일 날짜형식 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sunga08 committed Sep 17, 2023
1 parent 9cec3e1 commit 38305cb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

public interface ModerationRecordJpaRepository extends JpaRepository<ModerationRecord, Long> {

@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 " +
Expand Down

0 comments on commit 38305cb

Please sign in to comment.