id, isbn, serial_number, create_time
SELECT FROM book_serial_number WHERE id = #{id}
SELECT FROM book_serial_number WHERE isbn = #{isbn}
SELECT FROM book_serial_number
INSERT INTO book_serial_number (isbn, serial_number, create_time) VALUES (#{isbn, jdbcType=VARCHAR}, #{serialNumber, jdbcType=BIGINT},NOW())
INSERT INTO book_serial_number ( isbn, serial_number, create_time ) VALUES ( #{item.isbn, jdbcType=VARCHAR}, #{item.serialNumber, jdbcType=BIGINT}, #{item.markId, jdbcType=VARCHAR}, NOW() )
UPDATE book_serial_number SET serial_number = serial_number + 1 WHERE isbn = #{isbn} SELECT serial_number FROM book_serial_number WHERE isbn = #{isbn}
DELETE FROM book_serial_number where id = #{id}