|
|
@@ -92,6 +92,9 @@
|
|
|
<update id="updateAppConfig">
|
|
|
update yt_app_default_config
|
|
|
<set>
|
|
|
+ <if test="canSimulator != null">
|
|
|
+ can_simulator = #{canSimulator},
|
|
|
+ </if>
|
|
|
<if test="configName != null">
|
|
|
config_name = #{configName},
|
|
|
</if>
|
|
|
@@ -426,6 +429,7 @@
|
|
|
<select id="getDefaultConfig" resultType="com.ytpm.app.view.WxDefaultConfig">
|
|
|
select
|
|
|
config_id, config_name, open_id appId, secret, app_id platformAppId, app_key platformAppSecret, app_type,user_path,login_path,ad_path,answer_path,power_path
|
|
|
+ ,taku_app_id,taku_key,taku_banner_pid,taku_interstitial_pid,taku_reward_pid,taku_native_pid,can_use_adb,can_accumulation,can_use_float,can_use_root,can_simulator,ditch_id,power_wait_time,interstitial_interval_time
|
|
|
from yt_app_default_config
|
|
|
where app_type = #{appType}
|
|
|
</select>
|
|
|
@@ -451,7 +455,8 @@
|
|
|
</select>
|
|
|
<select id="getConfigByIds" resultType="com.ytpm.app.view.WxDefaultConfig">
|
|
|
select
|
|
|
- config_id, config_name, open_id, secret, app_id, app_key, app_type,user_path,login_path,ad_path,answer_path,power_path
|
|
|
+ config_id, config_name, open_id, secret, app_id, app_key, app_type, user_path, login_path, ad_path, answer_path, power_path
|
|
|
+ , taku_app_id, taku_key, taku_banner_pid, taku_native_pid, taku_reward_pid, taku_interstitial_pid, can_use_root, can_use_adb, can_use_float, can_accumulation,can_simulator, ditch_id, power_wait_time, interstitial_interval_time
|
|
|
from yt_app_default_config
|
|
|
where app_id in
|
|
|
<foreach collection="appIds.split(',')" item="item" separator="," open="(" close=")">
|