INSERT INTO
ai_lms.wordbook (wd_book_id,
wd_book_type_id,
text_id,
user_id)
VALUES (#{wdBookId},
#{wdBookTypeId},
#{textId},
#{userId})
UPDATE ai_lms.wordbook
SET wd_book_type_id = #{wdBookTypeId},
text_id = #{textId},
user_id = #{userId}
WHERE wd_book_id = #{wdBookId}
DELETE FROM ai_lms.wordbook
WHERE wd_book_id = #{wdBookId}