|
@@ -18,6 +18,7 @@
|
|
|
<result property="productType" column="product_type" />
|
|
|
<result property="forcedUpgradeVer" column="forced_upgrade_ver" />
|
|
|
<result property="isNewestVer" column="is_newest_ver" />
|
|
|
+ <result property="download" column="download" />
|
|
|
</resultMap>
|
|
|
|
|
|
<!-- 实体 -->
|
|
@@ -35,7 +36,8 @@
|
|
|
a.cur_app_ver as "curAppVer" ,
|
|
|
a.product_type as "productType" ,
|
|
|
a.forced_upgrade_ver as "forcedUpgradeVer" ,
|
|
|
- a.is_newest_ver as "isNewestVer"
|
|
|
+ a.is_newest_ver as "isNewestVer" ,
|
|
|
+ a.download as "download"
|
|
|
</sql>
|
|
|
|
|
|
<!-- 根据主键获取实体 -->
|
|
@@ -61,6 +63,9 @@
|
|
|
<if test="verUrl != null" >
|
|
|
ver_url,
|
|
|
</if>
|
|
|
+ <if test="download != null" >
|
|
|
+ download,
|
|
|
+ </if>
|
|
|
<if test="isForcedUpgrade != null" >
|
|
|
is_forced_upgrade,
|
|
|
</if>
|
|
@@ -103,6 +108,9 @@
|
|
|
<if test="verUrl != null" >
|
|
|
#{verUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="download != null" >
|
|
|
+ #{download,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="isForcedUpgrade != null" >
|
|
|
#{isForcedUpgrade,jdbcType=INTEGER},
|
|
|
</if>
|
|
@@ -149,6 +157,9 @@
|
|
|
<if test="verUrl != null" >
|
|
|
ver_url = #{verUrl,jdbcType=VARCHAR},
|
|
|
</if>
|
|
|
+ <if test="download != null" >
|
|
|
+ download = #{download,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
<if test="isForcedUpgrade != null" >
|
|
|
is_forced_upgrade = #{isForcedUpgrade,jdbcType=INTEGER},
|
|
|
</if>
|