insert into book ( `id`, `work_direction`, `cat_id`, `cat_name`, `cat_child_id`, `cat_child_name`, `pic_url`, `book_name`, `hero_name`, `lady_name`, `book_style`, `book_label`, `author_id`, `author_name`, `book_desc`, `score`, `book_status`, `visit_count`, `word_count`, `comment_count`, `yesterday_buy`, `last_index_id`, `last_index_name`, `last_index_update_time`, `is_vip`, `status`, `update_time`, `create_time`, `crawl_source_id`, `crawl_book_id`, `crawl_last_time`, `crawl_is_stop` ) values ( #{id}, #{workDirection}, #{catId}, #{catName}, #{catChildId}, #{catChildName}, #{picUrl}, #{bookName}, #{heroName}, #{ladyName}, #{bookStyle}, #{bookLabel}, #{authorId}, #{authorName}, #{bookDesc}, #{score}, #{bookStatus}, #{visitCount}, #{wordCount}, #{commentCount}, #{yesterdayBuy}, #{lastIndexId}, #{lastIndexName}, #{lastIndexUpdateTime}, #{isVip}, #{status}, #{updateTime}, #{createTime}, #{crawlSourceId}, #{crawlBookId}, #{crawlLastTime}, #{crawlIsStop} ) insert into book ( `id`, `work_direction`, `cat_id`, `cat_name`, `cat_child_id`, `cat_child_name`, `pic_url`, `book_name`, `hero_name`, `lady_name`, `book_style`, `book_label`, `author_id`, `author_name`, `book_desc`, `score`, `book_status`, `visit_count`, `word_count`, `comment_count`, `yesterday_buy`, `last_index_id`, `last_index_name`, `last_index_update_time`, `is_vip`, `status`, `update_time`, `create_time`, `crawl_source_id`, `crawl_book_id`, `crawl_last_time`, `crawl_is_stop` ) values ( #{id}, #{workDirection}, #{catId}, #{catName}, #{catChildId}, #{catChildName}, #{picUrl}, #{bookName}, #{heroName}, #{ladyName}, #{bookStyle}, #{bookLabel}, #{authorId}, #{authorName}, #{bookDesc}, #{score}, #{bookStatus}, #{visitCount}, #{wordCount}, #{commentCount}, #{yesterdayBuy}, #{lastIndexId}, #{lastIndexName}, #{lastIndexUpdateTime}, #{isVip}, #{status}, #{updateTime}, #{createTime}, #{crawlSourceId}, #{crawlBookId}, #{crawlLastTime}, #{crawlIsStop} ) update book `work_direction` = #{workDirection}, `cat_id` = #{catId}, `cat_name` = #{catName}, `cat_child_id` = #{catChildId}, `cat_child_name` = #{catChildName}, `pic_url` = #{picUrl}, `book_name` = #{bookName}, `hero_name` = #{heroName}, `lady_name` = #{ladyName}, `book_style` = #{bookStyle}, `book_label` = #{bookLabel}, `author_id` = #{authorId}, `author_name` = #{authorName}, `book_desc` = #{bookDesc}, `score` = #{score}, `book_status` = #{bookStatus}, `visit_count` = #{visitCount}, `word_count` = #{wordCount}, `comment_count` = #{commentCount}, `yesterday_buy` = #{yesterdayBuy}, `last_index_id` = #{lastIndexId}, `last_index_name` = #{lastIndexName}, `last_index_update_time` = #{lastIndexUpdateTime}, `is_vip` = #{isVip}, `status` = #{status}, `update_time` = #{updateTime}, `create_time` = #{createTime}, `crawl_source_id` = #{crawlSourceId}, `crawl_book_id` = #{crawlBookId}, `crawl_last_time` = #{crawlLastTime}, `crawl_is_stop` = #{crawlIsStop} where id = #{id} delete from book where id = #{value} delete from book where id in #{id}