|
|
@@ -18,10 +18,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<result property="baiduUrl" column="baidu_url" />
|
|
|
<result property="h5Url" column="h5_url" />
|
|
|
<result property="wgtUrl" column="wgt_url" />
|
|
|
+ <result property="isHotForce" column="is_hot_force" />
|
|
|
</resultMap>
|
|
|
|
|
|
<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,wgt_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>
|
|
|
|
|
|
<select id="selectFsAppVersionList" parameterType="FsAppVersion" resultMap="FsAppVersionResult">
|
|
|
@@ -59,6 +60,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="baiduUrl != null">baidu_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 prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
<if test="versionName != null">#{versionName},</if>
|
|
|
@@ -73,6 +75,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="baiduUrl != null">#{baiduUrl},</if>
|
|
|
<if test="h5Url != null and h5Url !=''">#{h5Url},</if>
|
|
|
<if test="wgtUrl != null and wgtUrl !=''">#{wgtUrl},</if>
|
|
|
+ <if test="isHotForce != null">#{isHotForce},</if>
|
|
|
</trim>
|
|
|
</insert>
|
|
|
|
|
|
@@ -91,6 +94,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|
|
<if test="baiduUrl != null">baidu_url = #{baiduUrl},</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>
|
|
|
where version_id = #{versionId}
|
|
|
</update>
|