|
@@ -8,13 +8,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="hId" column="h_id" />
|
|
|
<result property="repoId" column="repo_id" />
|
|
|
<result property="uploadBy" column="upload_by" />
|
|
|
- <result property="fileVersion" column="file_version" />
|
|
|
+ <result property="version" column="version" />
|
|
|
<result property="url" column="url" />
|
|
|
<result property="fileName" column="file_name" />
|
|
|
</resultMap>
|
|
|
|
|
|
<sql id="selectSysRepoHistoryVo">
|
|
|
- select h_id, repo_id, upload_by, file_version, url, file_name from sys_repo_history
|
|
|
+ select h_id, repo_id, upload_by, version, url, file_name from sys_repo_history
|
|
|
</sql>
|
|
|
|
|
|
<select id="selectSysRepoHistoryList" parameterType="SysRepoHistory" resultMap="SysRepoHistoryResult">
|
|
@@ -22,7 +22,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<where>
|
|
|
<if test="repoId != null "> and repo_id = #{repoId}</if>
|
|
|
<if test="uploadBy != null and uploadBy != ''"> and upload_by = #{uploadBy}</if>
|
|
|
- <if test="fileVersion != null and fileVersion != ''"> and file_version = #{fileVersion}</if>
|
|
|
+ <if test="version != null and version != ''"> and version = #{version}</if>
|
|
|
<if test="url != null and url != ''"> and url = #{url}</if>
|
|
|
<if test="fileName != null and fileName != ''"> and file_name = #{fileName}</if>
|
|
|
</where>
|
|
@@ -38,14 +38,14 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
<if test="repoId != null">repo_id,</if>
|
|
|
<if test="uploadBy != null and uploadBy != ''">upload_by,</if>
|
|
|
- <if test="fileVersion != null and fileVersion != ''">file_version,</if>
|
|
|
+ <if test="version != null and version != ''">version,</if>
|
|
|
<if test="url != null and url != ''">url,</if>
|
|
|
<if test="fileName != null and fileName != ''">file_name,</if>
|
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="repoId != null">#{repoId},</if>
|
|
|
<if test="uploadBy != null and uploadBy != ''">#{uploadBy},</if>
|
|
|
- <if test="fileVersion != null and fileVersion != ''">#{fileVersion},</if>
|
|
|
+ <if test="version != null and version != ''">#{version},</if>
|
|
|
<if test="url != null and url != ''">#{url},</if>
|
|
|
<if test="fileName != null and fileName != ''">#{fileName},</if>
|
|
|
</trim>
|
|
@@ -56,7 +56,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<trim prefix="SET" suffixOverrides=",">
|
|
|
<if test="repoId != null">repo_id = #{repoId},</if>
|
|
|
<if test="uploadBy != null and uploadBy != ''">upload_by = #{uploadBy},</if>
|
|
|
- <if test="fileVersion != null and fileVersion != ''">file_version = #{fileVersion},</if>
|
|
|
+ <if test="version != null and version != ''">version = #{version},</if>
|
|
|
<if test="url != null and url != ''">url = #{url},</if>
|
|
|
<if test="fileName != null and fileName != ''">file_name = #{fileName},</if>
|
|
|
</trim>
|