|
@@ -17,10 +17,12 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="updateConfig" column="update_config" />
|
|
<result property="updateConfig" column="update_config" />
|
|
|
<result property="baiduUrl" column="baidu_url" />
|
|
<result property="baiduUrl" column="baidu_url" />
|
|
|
<result property="h5Url" column="h5_url" />
|
|
<result property="h5Url" column="h5_url" />
|
|
|
|
|
+ <result property="wgtUrl" column="wgt_url" />
|
|
|
|
|
+ <result property="isHotForce" column="is_hot_force" />
|
|
|
</resultMap>
|
|
</resultMap>
|
|
|
|
|
|
|
|
<sql id="selectFsAppVersionVo">
|
|
<sql id="selectFsAppVersionVo">
|
|
|
- select version_id,baidu_url,update_config, version_name, version_code, note, url, type, is_force, create_time, app_type,h5_url from fs_app_version
|
|
|
|
|
|
|
+ select version_id,baidu_url,update_config, version_name, version_code, note, url, type, is_force, create_time, app_type,h5_url,wgt_url,is_hot_force from fs_app_version
|
|
|
</sql>
|
|
</sql>
|
|
|
|
|
|
|
|
<select id="selectFsAppVersionList" parameterType="FsAppVersion" resultMap="FsAppVersionResult">
|
|
<select id="selectFsAppVersionList" parameterType="FsAppVersion" resultMap="FsAppVersionResult">
|
|
@@ -57,6 +59,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateConfig != null">update_config,</if>
|
|
<if test="updateConfig != null">update_config,</if>
|
|
|
<if test="baiduUrl != null">baidu_url,</if>
|
|
<if test="baiduUrl != null">baidu_url,</if>
|
|
|
<if test="h5Url != null and h5Url !=''">h5_url,</if>
|
|
<if test="h5Url != null and h5Url !=''">h5_url,</if>
|
|
|
|
|
+ <if test="wgtUrl != null and wgtUrl !=''">wgt_url,</if>
|
|
|
|
|
+ <if test="isHotForce != null">is_hot_force,</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="versionName != null">#{versionName},</if>
|
|
<if test="versionName != null">#{versionName},</if>
|
|
@@ -70,6 +74,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateConfig != null">#{updateConfig},</if>
|
|
<if test="updateConfig != null">#{updateConfig},</if>
|
|
|
<if test="baiduUrl != null">#{baiduUrl},</if>
|
|
<if test="baiduUrl != null">#{baiduUrl},</if>
|
|
|
<if test="h5Url != null and h5Url !=''">#{h5Url},</if>
|
|
<if test="h5Url != null and h5Url !=''">#{h5Url},</if>
|
|
|
|
|
+ <if test="wgtUrl != null and wgtUrl !=''">#{wgtUrl},</if>
|
|
|
|
|
+ <if test="isHotForce != null">#{isHotForce},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
</insert>
|
|
</insert>
|
|
|
|
|
|
|
@@ -87,6 +93,8 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="updateConfig != null">update_config = #{updateConfig},</if>
|
|
<if test="updateConfig != null">update_config = #{updateConfig},</if>
|
|
|
<if test="baiduUrl != null">baidu_url = #{baiduUrl},</if>
|
|
<if test="baiduUrl != null">baidu_url = #{baiduUrl},</if>
|
|
|
<if test="h5Url != null and h5Url !=''">h5_url = #{h5Url},</if>
|
|
<if test="h5Url != null and h5Url !=''">h5_url = #{h5Url},</if>
|
|
|
|
|
+ <if test="wgtUrl != null and wgtUrl !=''">wgt_url = #{wgtUrl},</if>
|
|
|
|
|
+ <if test="isHotForce != null">is_hot_force = #{isHotForce},</if>
|
|
|
</trim>
|
|
</trim>
|
|
|
where version_id = #{versionId}
|
|
where version_id = #{versionId}
|
|
|
</update>
|
|
</update>
|