INSERT INTO board(bbs_id,
bbs_ttl,
bbs_cls,
bbs_cnt,
bbs_tm,
file_mng_id,
scls_id)
VALUES (#{bbsId},
#{bbsTtl},
#{bbsCls},
#{bbsCnt},
now(),
#{fileMngId},
#{sclsId});
UPDATE board
SET bbs_ttl = #{bbsTtl},
bbs_cls = #{bbsCls},
bbs_cnt = #{bbsCnt},
file_mng_id = #{fileMngId}
WHERE
bbs_id = #{bbsId}
DELETE FROM board WHERE bbs_id = #{bbsId}