id, book_id, channel_id, adviser_id, book_qrcode_type, book_qrcode_id, wxwork_qrcode_id, wxwork_qrcode_type, create_time
select from book.book_qrcode_wxwork where id = #{id}
insert into book.book_qrcode_wxwork(book_id, channel_id, adviser_id, book_qrcode_type, book_qrcode_id, wxwork_qrcode_id, wxwork_qrcode_type, create_time) values (#{bookId}, #{channelId}, #{adviserId}, #{bookQrcodeType}, #{bookQrcodeId}, #{wxworkQrcodeId}, #{wxworkQrcodeType}, now())
update book.book_qrcode_wxwork book_id = #{bookId}, channel_id = #{channelId}, adviser_id = #{adviserId}, book_qrcode_type = #{bookQrcodeType}, book_qrcode_id = #{bookQrcodeId}, wxwork_qrcode_id = #{wxworkQrcodeId}, wxwork_qrcode_type = #{wxworkQrcodeType}, where id = #{id}
delete from book.book_qrcode_wxwork where id = #{id}
delete from book.book_qrcode_wxwork where book_qrcode_type = #{bookQrcodeType} and book_qrcode_id = #{bookQrcodeId} and wxwork_qrcode_type = #{wxworkQrcodeType}
select from book.book_qrcode_wxwork where book_qrcode_type = #{bookQrcodeType} and book_qrcode_id = #{bookQrcodeId} and wxwork_qrcode_type = #{wxworkQrcodeType}
select from book.book_qrcode_wxwork where book_id = #{bookId} and channel_id = #{channelId} and adviser_id = #{adviserId} and book_qrcode_type = #{bookQrcodeType} order by wxwork_qrcode_type asc, create_time desc