1
0
mirror of https://gitee.com/bookshelfplus/bookshelfplus synced 2025-09-21 01:10:39 +08:00
Code Issues Projects Releases Wiki Activity GitHub Gitee

添加链接失效反馈后端及数据库;登陆改为登录

This commit is contained in:
2022-04-18 18:33:33 +08:00
parent 928bfa40ff
commit 883a245058
20 changed files with 1382 additions and 403 deletions

View File

@@ -0,0 +1,66 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="plus.bookshelf.Dao.Mapper.FailureFeedbackDOMapper">
<resultMap id="BaseResultMap" type="plus.bookshelf.Dao.DO.FailureFeedbackDO">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
<result column="book_id" jdbcType="INTEGER" property="bookId" />
<result column="file_id" jdbcType="INTEGER" property="fileId" />
<result column="file_object_id" jdbcType="INTEGER" property="fileObjectId" />
<result column="user_id" jdbcType="INTEGER" property="userId" />
<result column="create_time" jdbcType="TIMESTAMP" property="createTime" />
</resultMap>
<insert id="insert" parameterType="plus.bookshelf.Dao.DO.FailureFeedbackDO">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into failure_feedback (book_id, file_id, file_object_id,
user_id, create_time)
values (#{bookId,jdbcType=INTEGER}, #{fileId,jdbcType=INTEGER}, #{fileObjectId,jdbcType=INTEGER},
#{userId,jdbcType=INTEGER}, #{createTime,jdbcType=TIMESTAMP})
</insert>
<insert id="insertSelective" parameterType="plus.bookshelf.Dao.DO.FailureFeedbackDO">
<!--
WARNING - @mbg.generated
This element is automatically generated by MyBatis Generator, do not modify.
-->
insert into failure_feedback
<trim prefix="(" suffix=")" suffixOverrides=",">
<if test="bookId != null">
book_id,
</if>
<if test="fileId != null">
file_id,
</if>
<if test="fileObjectId != null">
file_object_id,
</if>
<if test="userId != null">
user_id,
</if>
<if test="createTime != null">
create_time,
</if>
</trim>
<trim prefix="values (" suffix=")" suffixOverrides=",">
<if test="bookId != null">
#{bookId,jdbcType=INTEGER},
</if>
<if test="fileId != null">
#{fileId,jdbcType=INTEGER},
</if>
<if test="fileObjectId != null">
#{fileObjectId,jdbcType=INTEGER},
</if>
<if test="userId != null">
#{userId,jdbcType=INTEGER},
</if>
<if test="createTime != null">
#{createTime,jdbcType=TIMESTAMP},
</if>
</trim>
</insert>
</mapper>

View File

@@ -103,5 +103,8 @@
<!--<table tableName="schedule_task" domainObjectName="ScheduleTaskDO" enableCountByExample="false"-->
<!-- enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"-->
<!-- selectByExampleQueryId="false"></table>-->
<!--<table tableName="failure_feedback" domainObjectName="FailureFeedbackDO" enableCountByExample="false"-->
<!-- enableUpdateByExample="false" enableDeleteByExample="false" enableSelectByExample="false"-->
<!-- selectByExampleQueryId="false"></table>-->
</context>
</generatorConfiguration>