INSERT INTO announcement (merchant_id, title, content, type, status) VALUES (#{merchantId}, #{title}, #{content}, #{type}, #{status}) UPDATE announcement title = #{title}, content = #{content}, type = #{type}, status = #{status}, WHERE id = #{id} DELETE FROM announcement WHERE id = #{id}