mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-13 04:01:40 +08:00
删除文件列表缩略图字段;样式小调整
This commit is contained in:
@@ -15,7 +15,6 @@
|
||||
<result column="watermark" jdbcType="BIT" property="watermark" />
|
||||
<result column="advertising" jdbcType="BIT" property="advertising" />
|
||||
<result column="book_origin" jdbcType="VARCHAR" property="bookOrigin" />
|
||||
<result column="thumbnail" jdbcType="VARCHAR" property="thumbnail" />
|
||||
<result column="file_create_at" jdbcType="TIMESTAMP" property="fileCreateAt" />
|
||||
<result column="file_modified_at" jdbcType="TIMESTAMP" property="fileModifiedAt" />
|
||||
<result column="file_size" jdbcType="BIGINT" property="fileSize" />
|
||||
@@ -27,8 +26,7 @@
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
id, book_id, file_display_name, file_name, file_format, number_of_pages, watermark,
|
||||
advertising, book_origin, thumbnail, file_create_at, file_modified_at, file_size,
|
||||
hash_sha1
|
||||
advertising, book_origin, file_create_at, file_modified_at, file_size, hash_sha1
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
<!--
|
||||
@@ -56,13 +54,13 @@
|
||||
insert into file_info (id, book_id, file_display_name,
|
||||
file_name, file_format, number_of_pages,
|
||||
watermark, advertising, book_origin,
|
||||
thumbnail, file_create_at, file_modified_at,
|
||||
file_size, hash_sha1)
|
||||
file_create_at, file_modified_at, file_size,
|
||||
hash_sha1)
|
||||
values (#{id,jdbcType=INTEGER}, #{bookId,jdbcType=INTEGER}, #{fileDisplayName,jdbcType=VARCHAR},
|
||||
#{fileName,jdbcType=VARCHAR}, #{fileFormat,jdbcType=VARCHAR}, #{numberOfPages,jdbcType=INTEGER},
|
||||
#{watermark,jdbcType=BIT}, #{advertising,jdbcType=BIT}, #{bookOrigin,jdbcType=VARCHAR},
|
||||
#{thumbnail,jdbcType=VARCHAR}, #{fileCreateAt,jdbcType=TIMESTAMP}, #{fileModifiedAt,jdbcType=TIMESTAMP},
|
||||
#{fileSize,jdbcType=BIGINT}, #{hashSha1,jdbcType=VARCHAR})
|
||||
#{fileCreateAt,jdbcType=TIMESTAMP}, #{fileModifiedAt,jdbcType=TIMESTAMP}, #{fileSize,jdbcType=BIGINT},
|
||||
#{hashSha1,jdbcType=VARCHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="plus.bookshelf.Dao.DO.FileDO">
|
||||
<!--
|
||||
@@ -98,9 +96,6 @@
|
||||
<if test="bookOrigin != null">
|
||||
book_origin,
|
||||
</if>
|
||||
<if test="thumbnail != null">
|
||||
thumbnail,
|
||||
</if>
|
||||
<if test="fileCreateAt != null">
|
||||
file_create_at,
|
||||
</if>
|
||||
@@ -142,9 +137,6 @@
|
||||
<if test="bookOrigin != null">
|
||||
#{bookOrigin,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="thumbnail != null">
|
||||
#{thumbnail,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="fileCreateAt != null">
|
||||
#{fileCreateAt,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
@@ -190,9 +182,6 @@
|
||||
<if test="bookOrigin != null">
|
||||
book_origin = #{bookOrigin,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="thumbnail != null">
|
||||
thumbnail = #{thumbnail,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="fileCreateAt != null">
|
||||
file_create_at = #{fileCreateAt,jdbcType=TIMESTAMP},
|
||||
</if>
|
||||
@@ -222,7 +211,6 @@
|
||||
watermark = #{watermark,jdbcType=BIT},
|
||||
advertising = #{advertising,jdbcType=BIT},
|
||||
book_origin = #{bookOrigin,jdbcType=VARCHAR},
|
||||
thumbnail = #{thumbnail,jdbcType=VARCHAR},
|
||||
file_create_at = #{fileCreateAt,jdbcType=TIMESTAMP},
|
||||
file_modified_at = #{fileModifiedAt,jdbcType=TIMESTAMP},
|
||||
file_size = #{fileSize,jdbcType=BIGINT},
|
||||
|
Reference in New Issue
Block a user