insert into book_setting
(`id`,
`book_id`,
`sort`,
`type`,
`create_time`,
`create_user_id`,
`update_time`,
`update_user_id`)
values (#{id},
#{bookId},
#{sort},
#{type},
#{createTime},
#{createUserId},
#{updateTime},
#{updateUserId})
insert into book_setting
(
`id`,
`book_id`,
`sort`,
`type`,
`create_time`,
`create_user_id`,
`update_time`,
`update_user_id`
)
values
(
#{id},
#{bookId},
#{sort},
#{type},
#{createTime},
#{createUserId},
#{updateTime},
#{updateUserId}
)
update book_setting
`book_id` = #{bookId},
`sort` = #{sort},
`type` = #{type},
`create_time` = #{createTime},
`create_user_id` = #{createUserId},
`update_time` = #{updateTime},
`update_user_id` = #{updateUserId}
where id = #{id}
delete
from book_setting
where id = #{value}
delete from book_setting where id in
#{id}