Compare commits

..

No commits in common. "cf89e0cc4dd8560c1240280b6c229d22d063504d" and "b9d9c182b21d31b7c1f8c2acdc22bfc9ec91c429" have entirely different histories.

1 changed files with 6 additions and 6 deletions

View File

@ -46,12 +46,12 @@
<insert id="BoardComment.insertBoardComment" parameterType="boardCommentVO">
INSERT INTO
H3_BD_${id}_COMT (
BC_NAME, BC_CONTENT, BC_REGDATE, BC_BD_SEQ, BC_IP, BC_MB_ID
) VALUES (
#{userName}, #{content}, NOW(), #{parentSeq}, #{ip}, #{userId}
)
<selectKey resultType="int" keyProperty="seq" order="AFTER">
SELECT currval(#{id}||'_bc_seq') as seq
BC_SEQ, BC_NAME, BC_CONTENT, BC_REGDATE, BC_BD_SEQ, BC_IP, BC_MB_ID
) VALUES (
H3_BD_${id}_COMT_SEQ.NEXTVAL, #{userName}, #{content}, NOW(), #{parentSeq}, '10.123.141.123', #{userId}
)
<selectKey resultType="int" keyProperty="seq" order="AFTER">
SELECT H3_BD_${id}_COMT_SEQ.CURRVAL FROM DUAL
</selectKey>
</insert>