Merge branch 'main' of http://192.168.0.251:3000/localnet/localhost-back.git into main
This commit is contained in:
commit
fde1520377
@ -260,7 +260,8 @@
|
||||
c.LOCCMTSEQ,c.LOCBRDSEQ,c.LOCCMTPNT,c.LOCCMTRPY,
|
||||
c.LOCCMTUDT,c.LOCCMTPWD,c.LOCCMTRDT,
|
||||
m.MEMBERNAM AS author,
|
||||
m.MEMBERSEQ AS authorId
|
||||
m.MEMBERSEQ AS authorId,
|
||||
c.LOCCMTNIC
|
||||
FROM localcomt c
|
||||
LEFT JOIN netmember m ON c.MEMBERSEQ = m.MEMBERSEQ
|
||||
WHERE LOCBRDSEQ = #{LOCBRDSEQ} and LOCCMTPNT = 1
|
||||
@ -274,7 +275,8 @@
|
||||
c.LOCCMTUDT,c.LOCCMTPWD,c.LOCCMTRDT,c.LOCCMTPNT,
|
||||
m.MEMBERNAM AS author,
|
||||
m.MEMBERSEQ AS authorId,
|
||||
m.MEMBERPRF AS profileImg
|
||||
m.MEMBERPRF AS profileImg,
|
||||
c.LOCCMTNIC
|
||||
FROM localcomt c
|
||||
LEFT JOIN netmember m ON c.MEMBERSEQ = m.MEMBERSEQ
|
||||
WHERE LOCCMTPNT = #{LOCCMTPNT} and LOCCMTPNT != 1
|
||||
@ -283,8 +285,8 @@
|
||||
|
||||
<!-- 댓글/대댓글 작성 -->
|
||||
<insert id="insertCommentOrReply">
|
||||
INSERT INTO localcomt (LOCBRDSEQ, LOCCMTRPY, LOCCMTPWD, LOCCMTRDT, LOCCMTUDT, LOCCMTPNT, MEMBERSEQ)
|
||||
VALUES (#{LOCBRDSEQ}, #{LOCCMTRPY}, #{LOCCMTPWD}, NOW(), NOW() , #{LOCCMTPNT}, #{MEMBERSEQ})
|
||||
INSERT INTO localcomt (LOCBRDSEQ, LOCCMTRPY, LOCCMTPWD, LOCCMTRDT, LOCCMTUDT, LOCCMTPNT, MEMBERSEQ,LOCCMTNIC)
|
||||
VALUES (#{LOCBRDSEQ}, #{LOCCMTRPY}, #{LOCCMTPWD}, NOW(), NOW() , #{LOCCMTPNT}, #{MEMBERSEQ},#{LOCCMTNIC})
|
||||
</insert>
|
||||
|
||||
<!-- 댓글/대댓글 수정 -->
|
||||
|
||||
Loading…
Reference in New Issue
Block a user