|
|
@@ -8,11 +8,8 @@
|
|
|
app_id,
|
|
|
app_key,
|
|
|
app_name,
|
|
|
- channel_id,
|
|
|
- channel_name,
|
|
|
user_id,
|
|
|
app_type,
|
|
|
- network_app_id,
|
|
|
apk_url,
|
|
|
qr_code,
|
|
|
version_code,
|
|
|
@@ -23,11 +20,8 @@
|
|
|
#{appId},
|
|
|
#{appKey},
|
|
|
#{appName},
|
|
|
- #{channelId},
|
|
|
- #{channelName},
|
|
|
#{userId},
|
|
|
#{appType},
|
|
|
- #{networkAppId},
|
|
|
#{apkUrl},
|
|
|
#{qrCode},
|
|
|
#{versionCode},
|
|
|
@@ -43,18 +37,9 @@
|
|
|
<if test="appName != null">
|
|
|
app_name = #{appName},
|
|
|
</if>
|
|
|
- <if test="channelId != null">
|
|
|
- channel_id = #{channelId},
|
|
|
- </if>
|
|
|
- <if test="channelName != null">
|
|
|
- channel_name = #{channelName},
|
|
|
- </if>
|
|
|
<if test="appType != null">
|
|
|
app_type = #{appType},
|
|
|
</if>
|
|
|
- <if test="networkAppId != null">
|
|
|
- network_app_id = #{networkAppId},
|
|
|
- </if>
|
|
|
<if test="versionCode != null">
|
|
|
version_code = #{versionCode},
|
|
|
</if>
|
|
|
@@ -72,7 +57,7 @@
|
|
|
</delete>
|
|
|
<select id="selectPrimary" resultType="com.ytpm.agent.model.YtApp">
|
|
|
select
|
|
|
- app_id, app_key, app_name, channel_id, channel_name, user_id, app_type, network_app_id, apk_url, qr_code, version_code, update_tips, enabled
|
|
|
+ app_id, app_key, app_name,user_id, app_type, apk_url, qr_code, version_code, update_tips, enabled
|
|
|
from yt_app
|
|
|
where app_id = #{appId}
|
|
|
</select>
|