mirror of
https://gitee.com/bookshelfplus/bookshelfplus
synced 2025-09-12 03:31:39 +08:00
升级后端springboot和mysql依赖版本;升级前端依赖;移除前端无用依赖;微调分类详情页表格鼠标悬浮样式
This commit is contained in:
@@ -45,6 +45,14 @@ public interface FileObjectDOMapper {
|
||||
*/
|
||||
int updateByPrimaryKeySelective(FileObjectDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_object_info
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
int updateByPrimaryKeyWithBLOBs(FileObjectDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table file_object_info
|
||||
|
@@ -53,20 +53,8 @@ public interface ThirdPartyUserAuthDOMapper {
|
||||
*/
|
||||
int updateByPrimaryKey(ThirdPartyUserAuthDO record);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table third_party_user_auth_relation
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
ThirdPartyUserAuthDO selectByThirdPartyUserId(Integer id);
|
||||
|
||||
/**
|
||||
* This method was generated by MyBatis Generator.
|
||||
* This method corresponds to the database table third_party_user_auth_relation
|
||||
*
|
||||
* @mbg.generated
|
||||
*/
|
||||
ThirdPartyUserAuthDO selectByUserId(Integer id);
|
||||
|
||||
/**
|
||||
|
@@ -18,7 +18,6 @@ spring.datasource.password=
|
||||
|
||||
# 使用druid数据源
|
||||
spring.datasource.type=com.alibaba.druid.pool.DruidDataSource
|
||||
spring.datasource.driverClassName=com.mysql.jdbc.Driver
|
||||
|
||||
## 配置SpringBoot对Redis的依赖
|
||||
#spring.redis.host=127.0.0.1
|
||||
|
@@ -12,22 +12,37 @@
|
||||
<result column="file_path" jdbcType="VARCHAR" property="filePath" />
|
||||
<result column="file_pwd" jdbcType="VARCHAR" property="filePwd" />
|
||||
<result column="file_share_code" jdbcType="VARCHAR" property="fileShareCode" />
|
||||
<result column="additional_fields" jdbcType="CHAR" property="additionalFields" />
|
||||
</resultMap>
|
||||
<resultMap extends="BaseResultMap" id="ResultMapWithBLOBs" type="plus.bookshelf.Dao.DO.FileObjectDO">
|
||||
<!--
|
||||
WARNING - @mbg.generated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
<result column="additional_fields" jdbcType="LONGVARCHAR" property="additionalFields" />
|
||||
</resultMap>
|
||||
<sql id="Base_Column_List">
|
||||
<!--
|
||||
WARNING - @mbg.generated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
id, fileId, storage_medium_type, file_path, file_pwd, file_share_code, additional_fields
|
||||
id, fileId, storage_medium_type, file_path, file_pwd, file_share_code
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
||||
<sql id="Blob_Column_List">
|
||||
<!--
|
||||
WARNING - @mbg.generated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
additional_fields
|
||||
</sql>
|
||||
<select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="ResultMapWithBLOBs">
|
||||
<!--
|
||||
WARNING - @mbg.generated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
,
|
||||
<include refid="Blob_Column_List" />
|
||||
from file_object_info
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</select>
|
||||
@@ -49,7 +64,7 @@
|
||||
additional_fields)
|
||||
values (#{id,jdbcType=INTEGER}, #{fileid,jdbcType=INTEGER}, #{storageMediumType,jdbcType=TINYINT},
|
||||
#{filePath,jdbcType=VARCHAR}, #{filePwd,jdbcType=VARCHAR}, #{fileShareCode,jdbcType=VARCHAR},
|
||||
#{additionalFields,jdbcType=CHAR})
|
||||
#{additionalFields,jdbcType=LONGVARCHAR})
|
||||
</insert>
|
||||
<insert id="insertSelective" parameterType="plus.bookshelf.Dao.DO.FileObjectDO">
|
||||
<!--
|
||||
@@ -100,7 +115,7 @@
|
||||
#{fileShareCode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="additionalFields != null">
|
||||
#{additionalFields,jdbcType=CHAR},
|
||||
#{additionalFields,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</trim>
|
||||
</insert>
|
||||
@@ -127,11 +142,25 @@
|
||||
file_share_code = #{fileShareCode,jdbcType=VARCHAR},
|
||||
</if>
|
||||
<if test="additionalFields != null">
|
||||
additional_fields = #{additionalFields,jdbcType=CHAR},
|
||||
additional_fields = #{additionalFields,jdbcType=LONGVARCHAR},
|
||||
</if>
|
||||
</set>
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByPrimaryKeyWithBLOBs" parameterType="plus.bookshelf.Dao.DO.FileObjectDO">
|
||||
<!--
|
||||
WARNING - @mbg.generated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
update file_object_info
|
||||
set fileId = #{fileid,jdbcType=INTEGER},
|
||||
storage_medium_type = #{storageMediumType,jdbcType=TINYINT},
|
||||
file_path = #{filePath,jdbcType=VARCHAR},
|
||||
file_pwd = #{filePwd,jdbcType=VARCHAR},
|
||||
file_share_code = #{fileShareCode,jdbcType=VARCHAR},
|
||||
additional_fields = #{additionalFields,jdbcType=LONGVARCHAR}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
<update id="updateByPrimaryKey" parameterType="plus.bookshelf.Dao.DO.FileObjectDO">
|
||||
<!--
|
||||
WARNING - @mbg.generated
|
||||
@@ -142,8 +171,7 @@
|
||||
storage_medium_type = #{storageMediumType,jdbcType=TINYINT},
|
||||
file_path = #{filePath,jdbcType=VARCHAR},
|
||||
file_pwd = #{filePwd,jdbcType=VARCHAR},
|
||||
file_share_code = #{fileShareCode,jdbcType=VARCHAR},
|
||||
additional_fields = #{additionalFields,jdbcType=CHAR}
|
||||
file_share_code = #{fileShareCode,jdbcType=VARCHAR}
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
</update>
|
||||
</mapper>
|
@@ -22,7 +22,7 @@
|
||||
WARNING - @mbg.generated
|
||||
This element is automatically generated by MyBatis Generator, do not modify.
|
||||
-->
|
||||
select
|
||||
select
|
||||
<include refid="Base_Column_List" />
|
||||
from third_party_user_auth_relation
|
||||
where id = #{id,jdbcType=INTEGER}
|
||||
|
Reference in New Issue
Block a user