|
@@ -18,6 +18,7 @@
|
|
<result property="productType" column="product_type" />
|
|
<result property="productType" column="product_type" />
|
|
<result property="forcedUpgradeVer" column="forced_upgrade_ver" />
|
|
<result property="forcedUpgradeVer" column="forced_upgrade_ver" />
|
|
<result property="isNewestVer" column="is_newest_ver" />
|
|
<result property="isNewestVer" column="is_newest_ver" />
|
|
|
|
+ <result property="download" column="download" />
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
<!-- 实体 -->
|
|
<!-- 实体 -->
|
|
@@ -35,7 +36,8 @@
|
|
a.cur_app_ver as "curAppVer" ,
|
|
a.cur_app_ver as "curAppVer" ,
|
|
a.product_type as "productType" ,
|
|
a.product_type as "productType" ,
|
|
a.forced_upgrade_ver as "forcedUpgradeVer" ,
|
|
a.forced_upgrade_ver as "forcedUpgradeVer" ,
|
|
- a.is_newest_ver as "isNewestVer"
|
|
|
|
|
|
+ a.is_newest_ver as "isNewestVer" ,
|
|
|
|
+ a.download as "download"
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
<!-- 根据主键获取实体 -->
|
|
<!-- 根据主键获取实体 -->
|
|
@@ -61,6 +63,9 @@
|
|
<if test="verUrl != null" >
|
|
<if test="verUrl != null" >
|
|
ver_url,
|
|
ver_url,
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="download != null" >
|
|
|
|
+ download,
|
|
|
|
+ </if>
|
|
<if test="isForcedUpgrade != null" >
|
|
<if test="isForcedUpgrade != null" >
|
|
is_forced_upgrade,
|
|
is_forced_upgrade,
|
|
</if>
|
|
</if>
|
|
@@ -103,6 +108,9 @@
|
|
<if test="verUrl != null" >
|
|
<if test="verUrl != null" >
|
|
#{verUrl,jdbcType=VARCHAR},
|
|
#{verUrl,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="download != null" >
|
|
|
|
+ #{download,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
<if test="isForcedUpgrade != null" >
|
|
<if test="isForcedUpgrade != null" >
|
|
#{isForcedUpgrade,jdbcType=INTEGER},
|
|
#{isForcedUpgrade,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -149,6 +157,9 @@
|
|
<if test="verUrl != null" >
|
|
<if test="verUrl != null" >
|
|
ver_url = #{verUrl,jdbcType=VARCHAR},
|
|
ver_url = #{verUrl,jdbcType=VARCHAR},
|
|
</if>
|
|
</if>
|
|
|
|
+ <if test="download != null" >
|
|
|
|
+ download = #{download,jdbcType=VARCHAR},
|
|
|
|
+ </if>
|
|
<if test="isForcedUpgrade != null" >
|
|
<if test="isForcedUpgrade != null" >
|
|
is_forced_upgrade = #{isForcedUpgrade,jdbcType=INTEGER},
|
|
is_forced_upgrade = #{isForcedUpgrade,jdbcType=INTEGER},
|
|
</if>
|
|
</if>
|
|
@@ -182,4 +193,14 @@
|
|
</set>
|
|
</set>
|
|
where id = #{id,jdbcType=INTEGER}
|
|
where id = #{id,jdbcType=INTEGER}
|
|
</update>
|
|
</update>
|
|
|
|
+
|
|
|
|
+ <delete id="deleteSelective" parameterType="map">
|
|
|
|
+ update uims_ver_manage
|
|
|
|
+ set status = 0
|
|
|
|
+ where id in
|
|
|
|
+ <foreach collection="ids" item="item" open="(" close=")" separator=",">
|
|
|
|
+ #{item,jdbcType=INTEGER}
|
|
|
|
+ </foreach>
|
|
|
|
+ </delete>
|
|
|
|
+
|
|
</mapper>
|
|
</mapper>
|