|
@@ -155,21 +155,83 @@
|
|
|
where app_id in <foreach collection="ids" item="appId" open="(" separator="," close=")">#{appId}</foreach>;
|
|
where app_id in <foreach collection="ids" item="appId" open="(" separator="," close=")">#{appId}</foreach>;
|
|
|
</delete>
|
|
</delete>
|
|
|
<select id="selectPrimary" resultType="com.ytpm.agent.model.YtApp">
|
|
<select id="selectPrimary" resultType="com.ytpm.agent.model.YtApp">
|
|
|
- select
|
|
|
|
|
- app_id,ditch_id, ditch_name, app_key, app_name,user_id, app_type, apk_url, qr_code, version_code, update_tips, enabled,superior_id
|
|
|
|
|
|
|
+ select app_id,
|
|
|
|
|
+ ditch_id,
|
|
|
|
|
+ ditch_name,
|
|
|
|
|
+ app_key,
|
|
|
|
|
+ app_name,
|
|
|
|
|
+ user_id,
|
|
|
|
|
+ app_type,
|
|
|
|
|
+ apk_url,
|
|
|
|
|
+ qr_code,
|
|
|
|
|
+ version_code,
|
|
|
|
|
+ update_tips,
|
|
|
|
|
+ enabled,
|
|
|
|
|
+ superior_id,
|
|
|
|
|
+ ditch_id,
|
|
|
|
|
+ revenue_display_rate,
|
|
|
|
|
+ create_time
|
|
|
from yt_app
|
|
from yt_app
|
|
|
where app_id = #{appId}
|
|
where app_id = #{appId}
|
|
|
</select>
|
|
</select>
|
|
|
<select id="queryAll" resultType="com.ytpm.agent.model.YtApp">
|
|
<select id="queryAll" resultType="com.ytpm.agent.model.YtApp">
|
|
|
- select
|
|
|
|
|
- app_id, ditch_id, ditch_name, app_key, app_name, user_id, app_type, apk_url, qr_code, version_code, update_tips, enabled, store_on_sale, store_type, store_url, package_name, domain, category, sub_category, coppa, screen_orientation, ccpa, superior_id
|
|
|
|
|
|
|
+ select app_id,
|
|
|
|
|
+ app_key,
|
|
|
|
|
+ app_name,
|
|
|
|
|
+ user_id,
|
|
|
|
|
+ app_type,
|
|
|
|
|
+ apk_url,
|
|
|
|
|
+ qr_code,
|
|
|
|
|
+ version_code,
|
|
|
|
|
+ update_tips,
|
|
|
|
|
+ enabled,
|
|
|
|
|
+ store_on_sale,
|
|
|
|
|
+ store_type,
|
|
|
|
|
+ store_url,
|
|
|
|
|
+ package_name,
|
|
|
|
|
+ domain,
|
|
|
|
|
+ category,
|
|
|
|
|
+ sub_category,
|
|
|
|
|
+ coppa,
|
|
|
|
|
+ screen_orientation,
|
|
|
|
|
+ ccpa,
|
|
|
|
|
+ feign_path,
|
|
|
|
|
+ ditch_id,
|
|
|
|
|
+ ditch_name,
|
|
|
|
|
+ superior_id,
|
|
|
|
|
+ revenue_display_rate,
|
|
|
|
|
+ create_time
|
|
|
from yt_app
|
|
from yt_app
|
|
|
where user_id = #{userId}
|
|
where user_id = #{userId}
|
|
|
</select>
|
|
</select>
|
|
|
|
|
|
|
|
<select id="selectByDitchId" resultType="com.ytpm.agent.model.YtApp">
|
|
<select id="selectByDitchId" resultType="com.ytpm.agent.model.YtApp">
|
|
|
- select
|
|
|
|
|
- app_id, ditch_id, ditch_name, app_key, app_name,user_id, app_type, apk_url, qr_code, version_code, update_tips, enabled,ditch_name,ditch_id
|
|
|
|
|
|
|
+ select app_id,
|
|
|
|
|
+ app_key,
|
|
|
|
|
+ app_name,
|
|
|
|
|
+ user_id,
|
|
|
|
|
+ app_type,
|
|
|
|
|
+ apk_url,
|
|
|
|
|
+ qr_code,
|
|
|
|
|
+ version_code,
|
|
|
|
|
+ update_tips,
|
|
|
|
|
+ enabled,
|
|
|
|
|
+ store_on_sale,
|
|
|
|
|
+ store_type,
|
|
|
|
|
+ store_url,
|
|
|
|
|
+ package_name,
|
|
|
|
|
+ domain,
|
|
|
|
|
+ category,
|
|
|
|
|
+ sub_category,
|
|
|
|
|
+ coppa,
|
|
|
|
|
+ screen_orientation,
|
|
|
|
|
+ ccpa,
|
|
|
|
|
+ feign_path,
|
|
|
|
|
+ ditch_id,
|
|
|
|
|
+ ditch_name,
|
|
|
|
|
+ superior_id,
|
|
|
|
|
+ revenue_display_rate,
|
|
|
|
|
+ create_time
|
|
|
from yt_app
|
|
from yt_app
|
|
|
where ditch_id = #{ditchId} and enabled = 1
|
|
where ditch_id = #{ditchId} and enabled = 1
|
|
|
</select>
|
|
</select>
|