|
@@ -5,7 +5,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
<id column="id" jdbcType="BIGINT" property="id" />
|
|
|
<id column="book_id" jdbcType="BIGINT" property="bookId" />
|
|
@@ -15,12 +15,13 @@
|
|
|
<result column="words" jdbcType="INTEGER" property="words" />
|
|
|
<result column="read_able" jdbcType="INTEGER" property="readAble" />
|
|
|
<result column="chapter_id" jdbcType="BIGINT" property="chapterId" />
|
|
|
+ <result column="num" jdbcType="INTEGER" property="num" />
|
|
|
</resultMap>
|
|
|
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="com.book.dao.cps.entity.UploadBook">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
<result column="content" jdbcType="LONGVARCHAR" property="content" />
|
|
|
</resultMap>
|
|
@@ -28,7 +29,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="oredCriteria" item="criteria" separator="or">
|
|
@@ -62,7 +63,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
<where>
|
|
|
<foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
@@ -96,15 +97,16 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
- id, book_id, chapter_name, create_time, update_time, words, read_able, chapter_id
|
|
|
+ id, book_id, chapter_name, create_time, update_time, words, read_able, chapter_id,
|
|
|
+ num
|
|
|
</sql>
|
|
|
<sql id="Blob_Column_List">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
content
|
|
|
</sql>
|
|
@@ -112,7 +114,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
select
|
|
|
<if test="distinct">
|
|
@@ -141,7 +143,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
select
|
|
|
<if test="distinct">
|
|
@@ -168,7 +170,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
select
|
|
|
<if test="example != null and example.distinct">
|
|
@@ -206,7 +208,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
@@ -220,7 +222,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
select
|
|
|
<choose>
|
|
@@ -243,7 +245,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
delete from upload_book
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
@@ -253,7 +255,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
delete from upload_book
|
|
|
<if test="_parameter != null">
|
|
@@ -264,22 +266,22 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
insert into upload_book (id, book_id, chapter_name,
|
|
|
create_time, update_time, words,
|
|
|
- read_able, chapter_id, content
|
|
|
- )
|
|
|
+ read_able, chapter_id, num,
|
|
|
+ content)
|
|
|
values (#{id,jdbcType=BIGINT}, #{bookId,jdbcType=BIGINT}, #{chapterName,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}, #{words,jdbcType=INTEGER},
|
|
|
- #{readAble,jdbcType=INTEGER}, #{chapterId,jdbcType=BIGINT}, #{content,jdbcType=LONGVARCHAR}
|
|
|
- )
|
|
|
+ #{readAble,jdbcType=INTEGER}, #{chapterId,jdbcType=BIGINT}, #{num,jdbcType=INTEGER},
|
|
|
+ #{content,jdbcType=LONGVARCHAR})
|
|
|
</insert>
|
|
|
<insert id="insertSelective" parameterType="map">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
insert into upload_book
|
|
|
<choose>
|
|
@@ -314,6 +316,9 @@
|
|
|
<if test="record.chapterId != null">
|
|
|
chapter_id,
|
|
|
</if>
|
|
|
+ <if test="record.num != null">
|
|
|
+ num,
|
|
|
+ </if>
|
|
|
<if test="record.content != null">
|
|
|
content,
|
|
|
</if>
|
|
@@ -354,6 +359,9 @@
|
|
|
<if test="record.chapterId != null">
|
|
|
#{record.chapterId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
+ <if test="record.num != null">
|
|
|
+ #{record.num,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.content != null">
|
|
|
#{record.content,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -365,7 +373,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
select count(*) from upload_book
|
|
|
<if test="_parameter != null">
|
|
@@ -376,7 +384,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
update upload_book
|
|
|
SET
|
|
@@ -412,6 +420,9 @@
|
|
|
<if test="record.chapterId != null">
|
|
|
chapter_id = #{record.chapterId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
+ <if test="record.num != null">
|
|
|
+ num = #{record.num,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.content != null">
|
|
|
content = #{record.content,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -426,7 +437,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
update upload_book
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
@@ -437,6 +448,7 @@
|
|
|
words = #{record.words,jdbcType=INTEGER},
|
|
|
read_able = #{record.readAble,jdbcType=INTEGER},
|
|
|
chapter_id = #{record.chapterId,jdbcType=BIGINT},
|
|
|
+ num = #{record.num,jdbcType=INTEGER},
|
|
|
content = #{record.content,jdbcType=LONGVARCHAR}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
@@ -446,7 +458,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
update upload_book
|
|
|
set id = #{record.id,jdbcType=BIGINT},
|
|
@@ -456,7 +468,8 @@
|
|
|
update_time = #{record.updateTime,jdbcType=INTEGER},
|
|
|
words = #{record.words,jdbcType=INTEGER},
|
|
|
read_able = #{record.readAble,jdbcType=INTEGER},
|
|
|
- chapter_id = #{record.chapterId,jdbcType=BIGINT}
|
|
|
+ chapter_id = #{record.chapterId,jdbcType=BIGINT},
|
|
|
+ num = #{record.num,jdbcType=INTEGER}
|
|
|
<if test="_parameter != null">
|
|
|
<include refid="Update_By_Example_Where_Clause" />
|
|
|
</if>
|
|
@@ -465,7 +478,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
update upload_book
|
|
|
SET
|
|
@@ -495,6 +508,9 @@
|
|
|
<if test="record.chapterId != null">
|
|
|
chapter_id = #{record.chapterId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
+ <if test="record.num != null">
|
|
|
+ num = #{record.num,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.content != null">
|
|
|
content = #{record.content,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -508,7 +524,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
update upload_book
|
|
|
set chapter_name = #{chapterName,jdbcType=VARCHAR},
|
|
@@ -517,6 +533,7 @@
|
|
|
words = #{words,jdbcType=INTEGER},
|
|
|
read_able = #{readAble,jdbcType=INTEGER},
|
|
|
chapter_id = #{chapterId,jdbcType=BIGINT},
|
|
|
+ num = #{num,jdbcType=INTEGER},
|
|
|
content = #{content,jdbcType=LONGVARCHAR}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
and book_id = #{bookId,jdbcType=BIGINT}
|
|
@@ -525,7 +542,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
update upload_book
|
|
|
set chapter_name = #{chapterName,jdbcType=VARCHAR},
|
|
@@ -533,7 +550,8 @@
|
|
|
update_time = #{updateTime,jdbcType=INTEGER},
|
|
|
words = #{words,jdbcType=INTEGER},
|
|
|
read_able = #{readAble,jdbcType=INTEGER},
|
|
|
- chapter_id = #{chapterId,jdbcType=BIGINT}
|
|
|
+ chapter_id = #{chapterId,jdbcType=BIGINT},
|
|
|
+ num = #{num,jdbcType=INTEGER}
|
|
|
where id = #{id,jdbcType=BIGINT}
|
|
|
and book_id = #{bookId,jdbcType=BIGINT}
|
|
|
</update>
|
|
@@ -541,7 +559,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
@@ -558,7 +576,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
select
|
|
|
<include refid="Base_Column_List" />
|
|
@@ -577,7 +595,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
select
|
|
|
<choose>
|
|
@@ -605,24 +623,24 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
insert into upload_book
|
|
|
(id, book_id, chapter_name, create_time, update_time, words, read_able, chapter_id,
|
|
|
- content)
|
|
|
+ num, content)
|
|
|
values
|
|
|
<foreach collection="list" item="item" separator=",">
|
|
|
(#{item.id,jdbcType=BIGINT}, #{item.bookId,jdbcType=BIGINT}, #{item.chapterName,jdbcType=VARCHAR},
|
|
|
#{item.createTime,jdbcType=INTEGER}, #{item.updateTime,jdbcType=INTEGER}, #{item.words,jdbcType=INTEGER},
|
|
|
- #{item.readAble,jdbcType=INTEGER}, #{item.chapterId,jdbcType=BIGINT}, #{item.content,jdbcType=LONGVARCHAR}
|
|
|
- )
|
|
|
+ #{item.readAble,jdbcType=INTEGER}, #{item.chapterId,jdbcType=BIGINT}, #{item.num,jdbcType=INTEGER},
|
|
|
+ #{item.content,jdbcType=LONGVARCHAR})
|
|
|
</foreach>
|
|
|
</insert>
|
|
|
<insert id="batchInsertSelective" parameterType="map">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
insert into upload_book (
|
|
|
<foreach collection="selective" item="column" separator=",">
|
|
@@ -657,6 +675,9 @@
|
|
|
<if test="'chapter_id'.toString() == column.value">
|
|
|
#{item.chapterId,jdbcType=BIGINT}
|
|
|
</if>
|
|
|
+ <if test="'num'.toString() == column.value">
|
|
|
+ #{item.num,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
<if test="'content'.toString() == column.value">
|
|
|
#{item.content,jdbcType=LONGVARCHAR}
|
|
|
</if>
|
|
@@ -668,7 +689,7 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
insert into upload_book
|
|
|
<choose>
|
|
@@ -703,6 +724,9 @@
|
|
|
<if test="record.chapterId != null">
|
|
|
chapter_id,
|
|
|
</if>
|
|
|
+ <if test="record.num != null">
|
|
|
+ num,
|
|
|
+ </if>
|
|
|
<if test="record.content != null">
|
|
|
content,
|
|
|
</if>
|
|
@@ -743,6 +767,9 @@
|
|
|
<if test="record.chapterId != null">
|
|
|
#{record.chapterId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
+ <if test="record.num != null">
|
|
|
+ #{record.num,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.content != null">
|
|
|
#{record.content,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -782,6 +809,9 @@
|
|
|
<if test="record.chapterId != null">
|
|
|
chapter_id = #{record.chapterId,jdbcType=BIGINT},
|
|
|
</if>
|
|
|
+ <if test="record.num != null">
|
|
|
+ num = #{record.num,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
<if test="record.content != null">
|
|
|
content = #{record.content,jdbcType=LONGVARCHAR},
|
|
|
</if>
|
|
@@ -793,15 +823,16 @@
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
insert into upload_book
|
|
|
- (id, book_id, chapter_name, create_time, update_time, words, read_able, chapter_id
|
|
|
- )
|
|
|
+ (id, book_id, chapter_name, create_time, update_time, words, read_able, chapter_id,
|
|
|
+ num)
|
|
|
values
|
|
|
(#{id,jdbcType=BIGINT}, #{bookId,jdbcType=BIGINT}, #{chapterName,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}, #{words,jdbcType=INTEGER},
|
|
|
- #{readAble,jdbcType=INTEGER}, #{chapterId,jdbcType=BIGINT})
|
|
|
+ #{readAble,jdbcType=INTEGER}, #{chapterId,jdbcType=BIGINT}, #{num,jdbcType=INTEGER}
|
|
|
+ )
|
|
|
on duplicate key update
|
|
|
id = #{id,jdbcType=BIGINT},
|
|
|
book_id = #{bookId,jdbcType=BIGINT},
|
|
@@ -810,22 +841,23 @@
|
|
|
update_time = #{updateTime,jdbcType=INTEGER},
|
|
|
words = #{words,jdbcType=INTEGER},
|
|
|
read_able = #{readAble,jdbcType=INTEGER},
|
|
|
- chapter_id = #{chapterId,jdbcType=BIGINT}
|
|
|
+ chapter_id = #{chapterId,jdbcType=BIGINT},
|
|
|
+ num = #{num,jdbcType=INTEGER}
|
|
|
</insert>
|
|
|
<insert id="upsertWithBLOBs" parameterType="com.book.dao.cps.entity.UploadBook">
|
|
|
<!--
|
|
|
WARNING - @mbg.generated
|
|
|
This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
- This element was generated on Thu Aug 26 23:53:37 CST 2021.
|
|
|
+ This element was generated on Sat Sep 04 21:49:54 CST 2021.
|
|
|
-->
|
|
|
insert into upload_book
|
|
|
(id, book_id, chapter_name, create_time, update_time, words, read_able, chapter_id,
|
|
|
- content)
|
|
|
+ num, content)
|
|
|
values
|
|
|
(#{id,jdbcType=BIGINT}, #{bookId,jdbcType=BIGINT}, #{chapterName,jdbcType=VARCHAR},
|
|
|
#{createTime,jdbcType=INTEGER}, #{updateTime,jdbcType=INTEGER}, #{words,jdbcType=INTEGER},
|
|
|
- #{readAble,jdbcType=INTEGER}, #{chapterId,jdbcType=BIGINT}, #{content,jdbcType=LONGVARCHAR}
|
|
|
- )
|
|
|
+ #{readAble,jdbcType=INTEGER}, #{chapterId,jdbcType=BIGINT}, #{num,jdbcType=INTEGER},
|
|
|
+ #{content,jdbcType=LONGVARCHAR})
|
|
|
on duplicate key update
|
|
|
id = #{id,jdbcType=BIGINT},
|
|
|
book_id = #{bookId,jdbcType=BIGINT},
|
|
@@ -835,6 +867,7 @@
|
|
|
words = #{words,jdbcType=INTEGER},
|
|
|
read_able = #{readAble,jdbcType=INTEGER},
|
|
|
chapter_id = #{chapterId,jdbcType=BIGINT},
|
|
|
+ num = #{num,jdbcType=INTEGER},
|
|
|
content = #{content,jdbcType=LONGVARCHAR}
|
|
|
</insert>
|
|
|
</mapper>
|