|
@@ -0,0 +1,1068 @@
|
|
|
+<?xml version="1.0" encoding="UTF-8"?>
|
|
|
+<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
|
|
|
+<mapper namespace="com.book.push.dao.mapper.AdminConfigMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.book.push.dao.pojo.AdminConfig">
|
|
|
+ <id column="admin_id" jdbcType="INTEGER" property="adminId"/>
|
|
|
+ <result column="is_fouce" jdbcType="OTHER" property="isFouce"/>
|
|
|
+ <result column="entryhost_id" jdbcType="INTEGER" property="entryhostId"/>
|
|
|
+ <result column="platform_list" jdbcType="VARCHAR" property="platformList"/>
|
|
|
+ <result column="platform_id" jdbcType="INTEGER" property="platformId"/>
|
|
|
+ <result column="menu_platform_id" jdbcType="INTEGER" property="menuPlatformId"/>
|
|
|
+ <result column="ophost_id" jdbcType="INTEGER" property="ophostId"/>
|
|
|
+ <result column="wxpay_id" jdbcType="INTEGER" property="wxpayId"/>
|
|
|
+ <result column="fans_count" jdbcType="INTEGER" property="fansCount"/>
|
|
|
+ <result column="appid" jdbcType="VARCHAR" property="appid"/>
|
|
|
+ <result column="secret" jdbcType="VARCHAR" property="secret"/>
|
|
|
+ <result column="txt" jdbcType="VARCHAR" property="txt"/>
|
|
|
+ <result column="refresh_token" jdbcType="VARCHAR" property="refreshToken"/>
|
|
|
+ <result column="json" jdbcType="OTHER" property="json"/>
|
|
|
+ <result column="wx_menu" jdbcType="OTHER" property="wxMenu"/>
|
|
|
+ <result column="is_auth" jdbcType="OTHER" property="isAuth"/>
|
|
|
+ <result column="qrcode_image" jdbcType="VARCHAR" property="qrcodeImage"/>
|
|
|
+ <result column="book_guide_chapter_idx" jdbcType="INTEGER" property="bookGuideChapterIdx"/>
|
|
|
+ <result column="book_chapter_price" jdbcType="INTEGER" property="bookChapterPrice"/>
|
|
|
+ <result column="subscribe_method" jdbcType="OTHER" property="subscribeMethod"/>
|
|
|
+ <result column="subscribe_url" jdbcType="VARCHAR" property="subscribeUrl"/>
|
|
|
+ <result column="manager_contact" jdbcType="VARCHAR" property="managerContact"/>
|
|
|
+ <result column="new_user_activity" jdbcType="OTHER" property="newUserActivity"/>
|
|
|
+ <result column="unpay_tip" jdbcType="OTHER" property="unpayTip"/>
|
|
|
+ <result column="read_tip" jdbcType="OTHER" property="readTip"/>
|
|
|
+ <result column="continueread_tip" jdbcType="OTHER" property="continuereadTip"/>
|
|
|
+ <result column="sign_tip" jdbcType="OTHER" property="signTip"/>
|
|
|
+ <result column="morning_pattern" jdbcType="OTHER" property="morningPattern"/>
|
|
|
+ <result column="subscribe_tip" jdbcType="OTHER" property="subscribeTip"/>
|
|
|
+ <result column="update_tip" jdbcType="OTHER" property="updateTip"/>
|
|
|
+ <result column="search_tip" jdbcType="OTHER" property="searchTip"/>
|
|
|
+ <result column="timing_tip" jdbcType="OTHER" property="timingTip"/>
|
|
|
+ <result column="like_tip" jdbcType="OTHER" property="likeTip"/>
|
|
|
+ <result column="page_sex" jdbcType="OTHER" property="pageSex"/>
|
|
|
+ <result column="page_title" jdbcType="OTHER" property="pageTitle"/>
|
|
|
+ <result column="vip_num" jdbcType="INTEGER" property="vipNum"/>
|
|
|
+ <result column="normal_num" jdbcType="INTEGER" property="normalNum"/>
|
|
|
+ <result column="is_blacklist" jdbcType="BOOLEAN" property="isBlacklist"/>
|
|
|
+ <result column="agent_vip_num" jdbcType="INTEGER" property="agentVipNum"/>
|
|
|
+ <result column="agent_normal_num" jdbcType="INTEGER" property="agentNormalNum"/>
|
|
|
+ <result column="agent_is_blacklist" jdbcType="BOOLEAN" property="agentIsBlacklist"/>
|
|
|
+ <result column="createtime" jdbcType="INTEGER" property="createtime"/>
|
|
|
+ <result column="updatetime" jdbcType="INTEGER" property="updatetime"/>
|
|
|
+ <result column="menuophost_id" jdbcType="INTEGER" property="menuophostId"/>
|
|
|
+ <result column="menuwxpay_id" jdbcType="INTEGER" property="menuwxpayId"/>
|
|
|
+ <result column="fakeophost_id" jdbcType="INTEGER" property="fakeophostId"/>
|
|
|
+ <result column="fakemenuophost_id" jdbcType="INTEGER" property="fakemenuophostId"/>
|
|
|
+ <result column="kl_rate" jdbcType="DECIMAL" property="klRate"/>
|
|
|
+ <result column="custom_goods" jdbcType="TINYINT" property="customGoods"/>
|
|
|
+ <result column="vip_state" jdbcType="BOOLEAN" property="vipState"/>
|
|
|
+ <result column="wx_ad_state" jdbcType="BOOLEAN" property="wxAdState"/>
|
|
|
+ <result column="vip_goods_id" jdbcType="INTEGER" property="vipGoodsId"/>
|
|
|
+ <result column="vip_pay_tpl" jdbcType="VARCHAR" property="vipPayTpl"/>
|
|
|
+ <result column="ref_out_push" jdbcType="BOOLEAN" property="refOutPush"/>
|
|
|
+ <result column="guide_domain" jdbcType="OTHER" property="guideDomain"/>
|
|
|
+ <result column="wx_ad_source_id" jdbcType="BIGINT" property="wxAdSourceId"/>
|
|
|
+ <result column="is_account_self" jdbcType="OTHER" property="isAccountSelf"/>
|
|
|
+ <result column="give_kandian" jdbcType="OTHER" property="giveKandian"/>
|
|
|
+ <result column="activity_show_recharge_page" jdbcType="TINYINT" property="activityShowRechargePage"/>
|
|
|
+ <result column="subscribe_delay" jdbcType="OTHER" property="subscribeDelay"/>
|
|
|
+ <result column="palmpay_sub_account_ids" jdbcType="OTHER" property="palmpaySubAccountIds"/>
|
|
|
+ <result column="first_recharge_imgtext_post" jdbcType="OTHER" property="firstRechargeImgtextPost"/>
|
|
|
+ <result column="order_unrecharge_post_time" jdbcType="TINYINT" property="orderUnrechargePostTime"/>
|
|
|
+ <result column="is_qrcode_menu" jdbcType="OTHER" property="isQrcodeMenu"/>
|
|
|
+ <result column="callback_time_tout" jdbcType="TINYINT" property="callbackTimeTout"/>
|
|
|
+ <result column="callback_time_mp" jdbcType="TINYINT" property="callbackTimeMp"/>
|
|
|
+ <result column="callback_time_gdt" jdbcType="TINYINT" property="callbackTimeGdt"/>
|
|
|
+ <result column="vip_custom_money" jdbcType="FLOAT" property="vipCustomMoney"/>
|
|
|
+ <result column="callback_time_uc" jdbcType="TINYINT" property="callbackTimeUc"/>
|
|
|
+ <result column="vip_goods_id_custom" jdbcType="INTEGER" property="vipGoodsIdCustom"/>
|
|
|
+ <result column="gdt_mp_report_state" jdbcType="TINYINT" property="gdtMpReportState"/>
|
|
|
+ <result column="is_subscription" jdbcType="INTEGER" property="isSubscription"/>
|
|
|
+ <result column="vip_relation_num" jdbcType="INTEGER" property="vipRelationNum"/>
|
|
|
+ <result column="subscription_num" jdbcType="INTEGER" property="subscriptionNum"/>
|
|
|
+ <result column="book_chapter_charge_start" jdbcType="INTEGER" property="bookChapterChargeStart"/>
|
|
|
+ <result column="orange_callback" jdbcType="TINYINT" property="orangeCallback"/>
|
|
|
+ <result column="show_vip_at_home" jdbcType="TINYINT" property="showVipAtHome"/>
|
|
|
+ <result column="block_ios_user_switch" jdbcType="TINYINT" property="blockIosUserSwitch"/>
|
|
|
+ <result column="extend" jdbcType="OTHER" property="extend"/>
|
|
|
+ <result column="callback_time_mp_all" jdbcType="TINYINT" property="callbackTimeMpAll"/>
|
|
|
+ <result column="callback_time_mp_money" jdbcType="TINYINT" property="callbackTimeMpMoney"/>
|
|
|
+ <result column="callback_time_mp_hour" jdbcType="TINYINT" property="callbackTimeMpHour"/>
|
|
|
+ <result column="callback_time_baidu" jdbcType="TINYINT" property="callbackTimeBaidu"/>
|
|
|
+ <result column="callback_time_oppo" jdbcType="TINYINT" property="callbackTimeOppo"/>
|
|
|
+ <result column="baidu_callback" jdbcType="TINYINT" property="baiduCallback"/>
|
|
|
+ <result column="oppo_callback" jdbcType="TINYINT" property="oppoCallback"/>
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ admin_id, is_fouce, entryhost_id, platform_list, platform_id, menu_platform_id, ophost_id,
|
|
|
+ wxpay_id, fans_count, appid, secret, txt, refresh_token, json, wx_menu, is_auth,
|
|
|
+ qrcode_image, book_guide_chapter_idx, book_chapter_price, subscribe_method, subscribe_url,
|
|
|
+ manager_contact, new_user_activity, unpay_tip, read_tip, continueread_tip, sign_tip,
|
|
|
+ morning_pattern, subscribe_tip, update_tip, search_tip, timing_tip, like_tip, page_sex,
|
|
|
+ page_title, vip_num, normal_num, is_blacklist, agent_vip_num, agent_normal_num, agent_is_blacklist,
|
|
|
+ createtime, updatetime, menuophost_id, menuwxpay_id, fakeophost_id, fakemenuophost_id,
|
|
|
+ kl_rate, custom_goods, vip_state, wx_ad_state, vip_goods_id, vip_pay_tpl, ref_out_push,
|
|
|
+ guide_domain, wx_ad_source_id, is_account_self, give_kandian, activity_show_recharge_page,
|
|
|
+ subscribe_delay, palmpay_sub_account_ids, first_recharge_imgtext_post, order_unrecharge_post_time,
|
|
|
+ is_qrcode_menu, callback_time_tout, callback_time_mp, callback_time_gdt, vip_custom_money,
|
|
|
+ callback_time_uc, vip_goods_id_custom, gdt_mp_report_state, is_subscription, vip_relation_num,
|
|
|
+ subscription_num, book_chapter_charge_start, orange_callback, show_vip_at_home, block_ios_user_switch,
|
|
|
+ extend, callback_time_mp_all, callback_time_mp_money, callback_time_mp_hour, callback_time_baidu,
|
|
|
+ callback_time_oppo, baidu_callback, oppo_callback
|
|
|
+ </sql>
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ from admin_config
|
|
|
+ where admin_id = #{adminId,jdbcType=INTEGER}
|
|
|
+ </select>
|
|
|
+ <select id="selectAll" resultType="com.book.push.dao.pojo.AdminConfig">
|
|
|
+ SELECT *
|
|
|
+ FROM admin_config WHERE agent_is_blacklist=1;
|
|
|
+
|
|
|
+ </select>
|
|
|
+ <select id="selectByAppid" resultType="com.book.push.dao.pojo.AdminConfig" parameterType="string">
|
|
|
+ select *
|
|
|
+ from admin_config
|
|
|
+ where appid = #{appid,jdbcType=VARCHAR}
|
|
|
+
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
|
|
+ delete
|
|
|
+ from admin_config
|
|
|
+ where admin_id = #{adminId,jdbcType=INTEGER}
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" keyColumn="admin_id" keyProperty="adminId" parameterType="com.book.push.dao.pojo.AdminConfig"
|
|
|
+ useGeneratedKeys="true">
|
|
|
+ insert into admin_config (is_fouce, entryhost_id, platform_list,
|
|
|
+ platform_id, menu_platform_id, ophost_id,
|
|
|
+ wxpay_id, fans_count, appid,
|
|
|
+ secret, txt, refresh_token,
|
|
|
+ json, wx_menu, is_auth, qrcode_image,
|
|
|
+ book_guide_chapter_idx, book_chapter_price,
|
|
|
+ subscribe_method, subscribe_url, manager_contact,
|
|
|
+ new_user_activity, unpay_tip, read_tip,
|
|
|
+ continueread_tip, sign_tip, morning_pattern,
|
|
|
+ subscribe_tip, update_tip, search_tip,
|
|
|
+ timing_tip, like_tip, page_sex,
|
|
|
+ page_title, vip_num, normal_num,
|
|
|
+ is_blacklist, agent_vip_num, agent_normal_num,
|
|
|
+ agent_is_blacklist, createtime, updatetime,
|
|
|
+ menuophost_id, menuwxpay_id, fakeophost_id,
|
|
|
+ fakemenuophost_id, kl_rate, custom_goods,
|
|
|
+ vip_state, wx_ad_state, vip_goods_id,
|
|
|
+ vip_pay_tpl, ref_out_push, guide_domain,
|
|
|
+ wx_ad_source_id, is_account_self, give_kandian,
|
|
|
+ activity_show_recharge_page, subscribe_delay,
|
|
|
+ palmpay_sub_account_ids, first_recharge_imgtext_post,
|
|
|
+ order_unrecharge_post_time, is_qrcode_menu, callback_time_tout,
|
|
|
+ callback_time_mp, callback_time_gdt, vip_custom_money,
|
|
|
+ callback_time_uc, vip_goods_id_custom, gdt_mp_report_state,
|
|
|
+ is_subscription, vip_relation_num, subscription_num,
|
|
|
+ book_chapter_charge_start, orange_callback,
|
|
|
+ show_vip_at_home, block_ios_user_switch, extend,
|
|
|
+ callback_time_mp_all, callback_time_mp_money,
|
|
|
+ callback_time_mp_hour, callback_time_baidu,
|
|
|
+ callback_time_oppo, baidu_callback, oppo_callback)
|
|
|
+ values (#{isFouce,jdbcType=OTHER}, #{entryhostId,jdbcType=INTEGER}, #{platformList,jdbcType=VARCHAR},
|
|
|
+ #{platformId,jdbcType=INTEGER}, #{menuPlatformId,jdbcType=INTEGER}, #{ophostId,jdbcType=INTEGER},
|
|
|
+ #{wxpayId,jdbcType=INTEGER}, #{fansCount,jdbcType=INTEGER}, #{appid,jdbcType=VARCHAR},
|
|
|
+ #{secret,jdbcType=VARCHAR}, #{txt,jdbcType=VARCHAR}, #{refreshToken,jdbcType=VARCHAR},
|
|
|
+ #{json,jdbcType=OTHER}, #{wxMenu,jdbcType=OTHER}, #{isAuth,jdbcType=OTHER},
|
|
|
+ #{qrcodeImage,jdbcType=VARCHAR},
|
|
|
+ #{bookGuideChapterIdx,jdbcType=INTEGER}, #{bookChapterPrice,jdbcType=INTEGER},
|
|
|
+ #{subscribeMethod,jdbcType=OTHER}, #{subscribeUrl,jdbcType=VARCHAR}, #{managerContact,jdbcType=VARCHAR},
|
|
|
+ #{newUserActivity,jdbcType=OTHER}, #{unpayTip,jdbcType=OTHER}, #{readTip,jdbcType=OTHER},
|
|
|
+ #{continuereadTip,jdbcType=OTHER}, #{signTip,jdbcType=OTHER}, #{morningPattern,jdbcType=OTHER},
|
|
|
+ #{subscribeTip,jdbcType=OTHER}, #{updateTip,jdbcType=OTHER}, #{searchTip,jdbcType=OTHER},
|
|
|
+ #{timingTip,jdbcType=OTHER}, #{likeTip,jdbcType=OTHER}, #{pageSex,jdbcType=OTHER},
|
|
|
+ #{pageTitle,jdbcType=OTHER}, #{vipNum,jdbcType=INTEGER}, #{normalNum,jdbcType=INTEGER},
|
|
|
+ #{isBlacklist,jdbcType=BOOLEAN}, #{agentVipNum,jdbcType=INTEGER}, #{agentNormalNum,jdbcType=INTEGER},
|
|
|
+ #{agentIsBlacklist,jdbcType=BOOLEAN}, #{createtime,jdbcType=INTEGER}, #{updatetime,jdbcType=INTEGER},
|
|
|
+ #{menuophostId,jdbcType=INTEGER}, #{menuwxpayId,jdbcType=INTEGER}, #{fakeophostId,jdbcType=INTEGER},
|
|
|
+ #{fakemenuophostId,jdbcType=INTEGER}, #{klRate,jdbcType=DECIMAL}, #{customGoods,jdbcType=TINYINT},
|
|
|
+ #{vipState,jdbcType=BOOLEAN}, #{wxAdState,jdbcType=BOOLEAN}, #{vipGoodsId,jdbcType=INTEGER},
|
|
|
+ #{vipPayTpl,jdbcType=VARCHAR}, #{refOutPush,jdbcType=BOOLEAN}, #{guideDomain,jdbcType=OTHER},
|
|
|
+ #{wxAdSourceId,jdbcType=BIGINT}, #{isAccountSelf,jdbcType=OTHER}, #{giveKandian,jdbcType=OTHER},
|
|
|
+ #{activityShowRechargePage,jdbcType=TINYINT}, #{subscribeDelay,jdbcType=OTHER},
|
|
|
+ #{palmpaySubAccountIds,jdbcType=OTHER}, #{firstRechargeImgtextPost,jdbcType=OTHER},
|
|
|
+ #{orderUnrechargePostTime,jdbcType=TINYINT}, #{isQrcodeMenu,jdbcType=OTHER},
|
|
|
+ #{callbackTimeTout,jdbcType=TINYINT},
|
|
|
+ #{callbackTimeMp,jdbcType=TINYINT}, #{callbackTimeGdt,jdbcType=TINYINT},
|
|
|
+ #{vipCustomMoney,jdbcType=FLOAT},
|
|
|
+ #{callbackTimeUc,jdbcType=TINYINT}, #{vipGoodsIdCustom,jdbcType=INTEGER},
|
|
|
+ #{gdtMpReportState,jdbcType=TINYINT},
|
|
|
+ #{isSubscription,jdbcType=INTEGER}, #{vipRelationNum,jdbcType=INTEGER},
|
|
|
+ #{subscriptionNum,jdbcType=INTEGER},
|
|
|
+ #{bookChapterChargeStart,jdbcType=INTEGER}, #{orangeCallback,jdbcType=TINYINT},
|
|
|
+ #{showVipAtHome,jdbcType=TINYINT}, #{blockIosUserSwitch,jdbcType=TINYINT}, #{extend,jdbcType=OTHER},
|
|
|
+ #{callbackTimeMpAll,jdbcType=TINYINT}, #{callbackTimeMpMoney,jdbcType=TINYINT},
|
|
|
+ #{callbackTimeMpHour,jdbcType=TINYINT}, #{callbackTimeBaidu,jdbcType=TINYINT},
|
|
|
+ #{callbackTimeOppo,jdbcType=TINYINT}, #{baiduCallback,jdbcType=TINYINT},
|
|
|
+ #{oppoCallback,jdbcType=TINYINT})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" keyColumn="admin_id" keyProperty="adminId"
|
|
|
+ parameterType="com.book.push.dao.pojo.AdminConfig" useGeneratedKeys="true">
|
|
|
+ insert into admin_config
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="isFouce != null">
|
|
|
+ is_fouce,
|
|
|
+ </if>
|
|
|
+ <if test="entryhostId != null">
|
|
|
+ entryhost_id,
|
|
|
+ </if>
|
|
|
+ <if test="platformList != null">
|
|
|
+ platform_list,
|
|
|
+ </if>
|
|
|
+ <if test="platformId != null">
|
|
|
+ platform_id,
|
|
|
+ </if>
|
|
|
+ <if test="menuPlatformId != null">
|
|
|
+ menu_platform_id,
|
|
|
+ </if>
|
|
|
+ <if test="ophostId != null">
|
|
|
+ ophost_id,
|
|
|
+ </if>
|
|
|
+ <if test="wxpayId != null">
|
|
|
+ wxpay_id,
|
|
|
+ </if>
|
|
|
+ <if test="fansCount != null">
|
|
|
+ fans_count,
|
|
|
+ </if>
|
|
|
+ <if test="appid != null">
|
|
|
+ appid,
|
|
|
+ </if>
|
|
|
+ <if test="secret != null">
|
|
|
+ secret,
|
|
|
+ </if>
|
|
|
+ <if test="txt != null">
|
|
|
+ txt,
|
|
|
+ </if>
|
|
|
+ <if test="refreshToken != null">
|
|
|
+ refresh_token,
|
|
|
+ </if>
|
|
|
+ <if test="json != null">
|
|
|
+ json,
|
|
|
+ </if>
|
|
|
+ <if test="wxMenu != null">
|
|
|
+ wx_menu,
|
|
|
+ </if>
|
|
|
+ <if test="isAuth != null">
|
|
|
+ is_auth,
|
|
|
+ </if>
|
|
|
+ <if test="qrcodeImage != null">
|
|
|
+ qrcode_image,
|
|
|
+ </if>
|
|
|
+ <if test="bookGuideChapterIdx != null">
|
|
|
+ book_guide_chapter_idx,
|
|
|
+ </if>
|
|
|
+ <if test="bookChapterPrice != null">
|
|
|
+ book_chapter_price,
|
|
|
+ </if>
|
|
|
+ <if test="subscribeMethod != null">
|
|
|
+ subscribe_method,
|
|
|
+ </if>
|
|
|
+ <if test="subscribeUrl != null">
|
|
|
+ subscribe_url,
|
|
|
+ </if>
|
|
|
+ <if test="managerContact != null">
|
|
|
+ manager_contact,
|
|
|
+ </if>
|
|
|
+ <if test="newUserActivity != null">
|
|
|
+ new_user_activity,
|
|
|
+ </if>
|
|
|
+ <if test="unpayTip != null">
|
|
|
+ unpay_tip,
|
|
|
+ </if>
|
|
|
+ <if test="readTip != null">
|
|
|
+ read_tip,
|
|
|
+ </if>
|
|
|
+ <if test="continuereadTip != null">
|
|
|
+ continueread_tip,
|
|
|
+ </if>
|
|
|
+ <if test="signTip != null">
|
|
|
+ sign_tip,
|
|
|
+ </if>
|
|
|
+ <if test="morningPattern != null">
|
|
|
+ morning_pattern,
|
|
|
+ </if>
|
|
|
+ <if test="subscribeTip != null">
|
|
|
+ subscribe_tip,
|
|
|
+ </if>
|
|
|
+ <if test="updateTip != null">
|
|
|
+ update_tip,
|
|
|
+ </if>
|
|
|
+ <if test="searchTip != null">
|
|
|
+ search_tip,
|
|
|
+ </if>
|
|
|
+ <if test="timingTip != null">
|
|
|
+ timing_tip,
|
|
|
+ </if>
|
|
|
+ <if test="likeTip != null">
|
|
|
+ like_tip,
|
|
|
+ </if>
|
|
|
+ <if test="pageSex != null">
|
|
|
+ page_sex,
|
|
|
+ </if>
|
|
|
+ <if test="pageTitle != null">
|
|
|
+ page_title,
|
|
|
+ </if>
|
|
|
+ <if test="vipNum != null">
|
|
|
+ vip_num,
|
|
|
+ </if>
|
|
|
+ <if test="normalNum != null">
|
|
|
+ normal_num,
|
|
|
+ </if>
|
|
|
+ <if test="isBlacklist != null">
|
|
|
+ is_blacklist,
|
|
|
+ </if>
|
|
|
+ <if test="agentVipNum != null">
|
|
|
+ agent_vip_num,
|
|
|
+ </if>
|
|
|
+ <if test="agentNormalNum != null">
|
|
|
+ agent_normal_num,
|
|
|
+ </if>
|
|
|
+ <if test="agentIsBlacklist != null">
|
|
|
+ agent_is_blacklist,
|
|
|
+ </if>
|
|
|
+ <if test="createtime != null">
|
|
|
+ createtime,
|
|
|
+ </if>
|
|
|
+ <if test="updatetime != null">
|
|
|
+ updatetime,
|
|
|
+ </if>
|
|
|
+ <if test="menuophostId != null">
|
|
|
+ menuophost_id,
|
|
|
+ </if>
|
|
|
+ <if test="menuwxpayId != null">
|
|
|
+ menuwxpay_id,
|
|
|
+ </if>
|
|
|
+ <if test="fakeophostId != null">
|
|
|
+ fakeophost_id,
|
|
|
+ </if>
|
|
|
+ <if test="fakemenuophostId != null">
|
|
|
+ fakemenuophost_id,
|
|
|
+ </if>
|
|
|
+ <if test="klRate != null">
|
|
|
+ kl_rate,
|
|
|
+ </if>
|
|
|
+ <if test="customGoods != null">
|
|
|
+ custom_goods,
|
|
|
+ </if>
|
|
|
+ <if test="vipState != null">
|
|
|
+ vip_state,
|
|
|
+ </if>
|
|
|
+ <if test="wxAdState != null">
|
|
|
+ wx_ad_state,
|
|
|
+ </if>
|
|
|
+ <if test="vipGoodsId != null">
|
|
|
+ vip_goods_id,
|
|
|
+ </if>
|
|
|
+ <if test="vipPayTpl != null">
|
|
|
+ vip_pay_tpl,
|
|
|
+ </if>
|
|
|
+ <if test="refOutPush != null">
|
|
|
+ ref_out_push,
|
|
|
+ </if>
|
|
|
+ <if test="guideDomain != null">
|
|
|
+ guide_domain,
|
|
|
+ </if>
|
|
|
+ <if test="wxAdSourceId != null">
|
|
|
+ wx_ad_source_id,
|
|
|
+ </if>
|
|
|
+ <if test="isAccountSelf != null">
|
|
|
+ is_account_self,
|
|
|
+ </if>
|
|
|
+ <if test="giveKandian != null">
|
|
|
+ give_kandian,
|
|
|
+ </if>
|
|
|
+ <if test="activityShowRechargePage != null">
|
|
|
+ activity_show_recharge_page,
|
|
|
+ </if>
|
|
|
+ <if test="subscribeDelay != null">
|
|
|
+ subscribe_delay,
|
|
|
+ </if>
|
|
|
+ <if test="palmpaySubAccountIds != null">
|
|
|
+ palmpay_sub_account_ids,
|
|
|
+ </if>
|
|
|
+ <if test="firstRechargeImgtextPost != null">
|
|
|
+ first_recharge_imgtext_post,
|
|
|
+ </if>
|
|
|
+ <if test="orderUnrechargePostTime != null">
|
|
|
+ order_unrecharge_post_time,
|
|
|
+ </if>
|
|
|
+ <if test="isQrcodeMenu != null">
|
|
|
+ is_qrcode_menu,
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeTout != null">
|
|
|
+ callback_time_tout,
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMp != null">
|
|
|
+ callback_time_mp,
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeGdt != null">
|
|
|
+ callback_time_gdt,
|
|
|
+ </if>
|
|
|
+ <if test="vipCustomMoney != null">
|
|
|
+ vip_custom_money,
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeUc != null">
|
|
|
+ callback_time_uc,
|
|
|
+ </if>
|
|
|
+ <if test="vipGoodsIdCustom != null">
|
|
|
+ vip_goods_id_custom,
|
|
|
+ </if>
|
|
|
+ <if test="gdtMpReportState != null">
|
|
|
+ gdt_mp_report_state,
|
|
|
+ </if>
|
|
|
+ <if test="isSubscription != null">
|
|
|
+ is_subscription,
|
|
|
+ </if>
|
|
|
+ <if test="vipRelationNum != null">
|
|
|
+ vip_relation_num,
|
|
|
+ </if>
|
|
|
+ <if test="subscriptionNum != null">
|
|
|
+ subscription_num,
|
|
|
+ </if>
|
|
|
+ <if test="bookChapterChargeStart != null">
|
|
|
+ book_chapter_charge_start,
|
|
|
+ </if>
|
|
|
+ <if test="orangeCallback != null">
|
|
|
+ orange_callback,
|
|
|
+ </if>
|
|
|
+ <if test="showVipAtHome != null">
|
|
|
+ show_vip_at_home,
|
|
|
+ </if>
|
|
|
+ <if test="blockIosUserSwitch != null">
|
|
|
+ block_ios_user_switch,
|
|
|
+ </if>
|
|
|
+ <if test="extend != null">
|
|
|
+ extend,
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMpAll != null">
|
|
|
+ callback_time_mp_all,
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMpMoney != null">
|
|
|
+ callback_time_mp_money,
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMpHour != null">
|
|
|
+ callback_time_mp_hour,
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeBaidu != null">
|
|
|
+ callback_time_baidu,
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeOppo != null">
|
|
|
+ callback_time_oppo,
|
|
|
+ </if>
|
|
|
+ <if test="baiduCallback != null">
|
|
|
+ baidu_callback,
|
|
|
+ </if>
|
|
|
+ <if test="oppoCallback != null">
|
|
|
+ oppo_callback,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="values (" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="isFouce != null">
|
|
|
+ #{isFouce,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="entryhostId != null">
|
|
|
+ #{entryhostId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="platformList != null">
|
|
|
+ #{platformList,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="platformId != null">
|
|
|
+ #{platformId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="menuPlatformId != null">
|
|
|
+ #{menuPlatformId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="ophostId != null">
|
|
|
+ #{ophostId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="wxpayId != null">
|
|
|
+ #{wxpayId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="fansCount != null">
|
|
|
+ #{fansCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="appid != null">
|
|
|
+ #{appid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="secret != null">
|
|
|
+ #{secret,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="txt != null">
|
|
|
+ #{txt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="refreshToken != null">
|
|
|
+ #{refreshToken,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="json != null">
|
|
|
+ #{json,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="wxMenu != null">
|
|
|
+ #{wxMenu,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="isAuth != null">
|
|
|
+ #{isAuth,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="qrcodeImage != null">
|
|
|
+ #{qrcodeImage,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="bookGuideChapterIdx != null">
|
|
|
+ #{bookGuideChapterIdx,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="bookChapterPrice != null">
|
|
|
+ #{bookChapterPrice,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="subscribeMethod != null">
|
|
|
+ #{subscribeMethod,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="subscribeUrl != null">
|
|
|
+ #{subscribeUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="managerContact != null">
|
|
|
+ #{managerContact,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="newUserActivity != null">
|
|
|
+ #{newUserActivity,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="unpayTip != null">
|
|
|
+ #{unpayTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="readTip != null">
|
|
|
+ #{readTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="continuereadTip != null">
|
|
|
+ #{continuereadTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="signTip != null">
|
|
|
+ #{signTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="morningPattern != null">
|
|
|
+ #{morningPattern,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="subscribeTip != null">
|
|
|
+ #{subscribeTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="updateTip != null">
|
|
|
+ #{updateTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="searchTip != null">
|
|
|
+ #{searchTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="timingTip != null">
|
|
|
+ #{timingTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="likeTip != null">
|
|
|
+ #{likeTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="pageSex != null">
|
|
|
+ #{pageSex,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="pageTitle != null">
|
|
|
+ #{pageTitle,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="vipNum != null">
|
|
|
+ #{vipNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="normalNum != null">
|
|
|
+ #{normalNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="isBlacklist != null">
|
|
|
+ #{isBlacklist,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="agentVipNum != null">
|
|
|
+ #{agentVipNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="agentNormalNum != null">
|
|
|
+ #{agentNormalNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="agentIsBlacklist != null">
|
|
|
+ #{agentIsBlacklist,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="createtime != null">
|
|
|
+ #{createtime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="updatetime != null">
|
|
|
+ #{updatetime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="menuophostId != null">
|
|
|
+ #{menuophostId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="menuwxpayId != null">
|
|
|
+ #{menuwxpayId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="fakeophostId != null">
|
|
|
+ #{fakeophostId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="fakemenuophostId != null">
|
|
|
+ #{fakemenuophostId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="klRate != null">
|
|
|
+ #{klRate,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="customGoods != null">
|
|
|
+ #{customGoods,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="vipState != null">
|
|
|
+ #{vipState,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="wxAdState != null">
|
|
|
+ #{wxAdState,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="vipGoodsId != null">
|
|
|
+ #{vipGoodsId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="vipPayTpl != null">
|
|
|
+ #{vipPayTpl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="refOutPush != null">
|
|
|
+ #{refOutPush,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="guideDomain != null">
|
|
|
+ #{guideDomain,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="wxAdSourceId != null">
|
|
|
+ #{wxAdSourceId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="isAccountSelf != null">
|
|
|
+ #{isAccountSelf,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="giveKandian != null">
|
|
|
+ #{giveKandian,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="activityShowRechargePage != null">
|
|
|
+ #{activityShowRechargePage,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="subscribeDelay != null">
|
|
|
+ #{subscribeDelay,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="palmpaySubAccountIds != null">
|
|
|
+ #{palmpaySubAccountIds,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="firstRechargeImgtextPost != null">
|
|
|
+ #{firstRechargeImgtextPost,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="orderUnrechargePostTime != null">
|
|
|
+ #{orderUnrechargePostTime,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="isQrcodeMenu != null">
|
|
|
+ #{isQrcodeMenu,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeTout != null">
|
|
|
+ #{callbackTimeTout,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMp != null">
|
|
|
+ #{callbackTimeMp,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeGdt != null">
|
|
|
+ #{callbackTimeGdt,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="vipCustomMoney != null">
|
|
|
+ #{vipCustomMoney,jdbcType=FLOAT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeUc != null">
|
|
|
+ #{callbackTimeUc,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="vipGoodsIdCustom != null">
|
|
|
+ #{vipGoodsIdCustom,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="gdtMpReportState != null">
|
|
|
+ #{gdtMpReportState,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="isSubscription != null">
|
|
|
+ #{isSubscription,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="vipRelationNum != null">
|
|
|
+ #{vipRelationNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="subscriptionNum != null">
|
|
|
+ #{subscriptionNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="bookChapterChargeStart != null">
|
|
|
+ #{bookChapterChargeStart,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="orangeCallback != null">
|
|
|
+ #{orangeCallback,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="showVipAtHome != null">
|
|
|
+ #{showVipAtHome,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="blockIosUserSwitch != null">
|
|
|
+ #{blockIosUserSwitch,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="extend != null">
|
|
|
+ #{extend,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMpAll != null">
|
|
|
+ #{callbackTimeMpAll,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMpMoney != null">
|
|
|
+ #{callbackTimeMpMoney,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMpHour != null">
|
|
|
+ #{callbackTimeMpHour,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeBaidu != null">
|
|
|
+ #{callbackTimeBaidu,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeOppo != null">
|
|
|
+ #{callbackTimeOppo,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="baiduCallback != null">
|
|
|
+ #{baiduCallback,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="oppoCallback != null">
|
|
|
+ #{oppoCallback,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </insert>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="com.book.push.dao.pojo.AdminConfig">
|
|
|
+ update admin_config
|
|
|
+ <set>
|
|
|
+ <if test="isFouce != null">
|
|
|
+ is_fouce = #{isFouce,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="entryhostId != null">
|
|
|
+ entryhost_id = #{entryhostId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="platformList != null">
|
|
|
+ platform_list = #{platformList,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="platformId != null">
|
|
|
+ platform_id = #{platformId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="menuPlatformId != null">
|
|
|
+ menu_platform_id = #{menuPlatformId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="ophostId != null">
|
|
|
+ ophost_id = #{ophostId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="wxpayId != null">
|
|
|
+ wxpay_id = #{wxpayId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="fansCount != null">
|
|
|
+ fans_count = #{fansCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="appid != null">
|
|
|
+ appid = #{appid,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="secret != null">
|
|
|
+ secret = #{secret,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="txt != null">
|
|
|
+ txt = #{txt,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="refreshToken != null">
|
|
|
+ refresh_token = #{refreshToken,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="json != null">
|
|
|
+ json = #{json,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="wxMenu != null">
|
|
|
+ wx_menu = #{wxMenu,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="isAuth != null">
|
|
|
+ is_auth = #{isAuth,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="qrcodeImage != null">
|
|
|
+ qrcode_image = #{qrcodeImage,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="bookGuideChapterIdx != null">
|
|
|
+ book_guide_chapter_idx = #{bookGuideChapterIdx,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="bookChapterPrice != null">
|
|
|
+ book_chapter_price = #{bookChapterPrice,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="subscribeMethod != null">
|
|
|
+ subscribe_method = #{subscribeMethod,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="subscribeUrl != null">
|
|
|
+ subscribe_url = #{subscribeUrl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="managerContact != null">
|
|
|
+ manager_contact = #{managerContact,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="newUserActivity != null">
|
|
|
+ new_user_activity = #{newUserActivity,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="unpayTip != null">
|
|
|
+ unpay_tip = #{unpayTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="readTip != null">
|
|
|
+ read_tip = #{readTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="continuereadTip != null">
|
|
|
+ continueread_tip = #{continuereadTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="signTip != null">
|
|
|
+ sign_tip = #{signTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="morningPattern != null">
|
|
|
+ morning_pattern = #{morningPattern,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="subscribeTip != null">
|
|
|
+ subscribe_tip = #{subscribeTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="updateTip != null">
|
|
|
+ update_tip = #{updateTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="searchTip != null">
|
|
|
+ search_tip = #{searchTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="timingTip != null">
|
|
|
+ timing_tip = #{timingTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="likeTip != null">
|
|
|
+ like_tip = #{likeTip,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="pageSex != null">
|
|
|
+ page_sex = #{pageSex,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="pageTitle != null">
|
|
|
+ page_title = #{pageTitle,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="vipNum != null">
|
|
|
+ vip_num = #{vipNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="normalNum != null">
|
|
|
+ normal_num = #{normalNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="isBlacklist != null">
|
|
|
+ is_blacklist = #{isBlacklist,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="agentVipNum != null">
|
|
|
+ agent_vip_num = #{agentVipNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="agentNormalNum != null">
|
|
|
+ agent_normal_num = #{agentNormalNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="agentIsBlacklist != null">
|
|
|
+ agent_is_blacklist = #{agentIsBlacklist,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="createtime != null">
|
|
|
+ createtime = #{createtime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="updatetime != null">
|
|
|
+ updatetime = #{updatetime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="menuophostId != null">
|
|
|
+ menuophost_id = #{menuophostId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="menuwxpayId != null">
|
|
|
+ menuwxpay_id = #{menuwxpayId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="fakeophostId != null">
|
|
|
+ fakeophost_id = #{fakeophostId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="fakemenuophostId != null">
|
|
|
+ fakemenuophost_id = #{fakemenuophostId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="klRate != null">
|
|
|
+ kl_rate = #{klRate,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="customGoods != null">
|
|
|
+ custom_goods = #{customGoods,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="vipState != null">
|
|
|
+ vip_state = #{vipState,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="wxAdState != null">
|
|
|
+ wx_ad_state = #{wxAdState,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="vipGoodsId != null">
|
|
|
+ vip_goods_id = #{vipGoodsId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="vipPayTpl != null">
|
|
|
+ vip_pay_tpl = #{vipPayTpl,jdbcType=VARCHAR},
|
|
|
+ </if>
|
|
|
+ <if test="refOutPush != null">
|
|
|
+ ref_out_push = #{refOutPush,jdbcType=BOOLEAN},
|
|
|
+ </if>
|
|
|
+ <if test="guideDomain != null">
|
|
|
+ guide_domain = #{guideDomain,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="wxAdSourceId != null">
|
|
|
+ wx_ad_source_id = #{wxAdSourceId,jdbcType=BIGINT},
|
|
|
+ </if>
|
|
|
+ <if test="isAccountSelf != null">
|
|
|
+ is_account_self = #{isAccountSelf,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="giveKandian != null">
|
|
|
+ give_kandian = #{giveKandian,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="activityShowRechargePage != null">
|
|
|
+ activity_show_recharge_page = #{activityShowRechargePage,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="subscribeDelay != null">
|
|
|
+ subscribe_delay = #{subscribeDelay,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="palmpaySubAccountIds != null">
|
|
|
+ palmpay_sub_account_ids = #{palmpaySubAccountIds,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="firstRechargeImgtextPost != null">
|
|
|
+ first_recharge_imgtext_post = #{firstRechargeImgtextPost,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="orderUnrechargePostTime != null">
|
|
|
+ order_unrecharge_post_time = #{orderUnrechargePostTime,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="isQrcodeMenu != null">
|
|
|
+ is_qrcode_menu = #{isQrcodeMenu,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeTout != null">
|
|
|
+ callback_time_tout = #{callbackTimeTout,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMp != null">
|
|
|
+ callback_time_mp = #{callbackTimeMp,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeGdt != null">
|
|
|
+ callback_time_gdt = #{callbackTimeGdt,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="vipCustomMoney != null">
|
|
|
+ vip_custom_money = #{vipCustomMoney,jdbcType=FLOAT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeUc != null">
|
|
|
+ callback_time_uc = #{callbackTimeUc,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="vipGoodsIdCustom != null">
|
|
|
+ vip_goods_id_custom = #{vipGoodsIdCustom,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="gdtMpReportState != null">
|
|
|
+ gdt_mp_report_state = #{gdtMpReportState,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="isSubscription != null">
|
|
|
+ is_subscription = #{isSubscription,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="vipRelationNum != null">
|
|
|
+ vip_relation_num = #{vipRelationNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="subscriptionNum != null">
|
|
|
+ subscription_num = #{subscriptionNum,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="bookChapterChargeStart != null">
|
|
|
+ book_chapter_charge_start = #{bookChapterChargeStart,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="orangeCallback != null">
|
|
|
+ orange_callback = #{orangeCallback,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="showVipAtHome != null">
|
|
|
+ show_vip_at_home = #{showVipAtHome,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="blockIosUserSwitch != null">
|
|
|
+ block_ios_user_switch = #{blockIosUserSwitch,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="extend != null">
|
|
|
+ extend = #{extend,jdbcType=OTHER},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMpAll != null">
|
|
|
+ callback_time_mp_all = #{callbackTimeMpAll,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMpMoney != null">
|
|
|
+ callback_time_mp_money = #{callbackTimeMpMoney,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeMpHour != null">
|
|
|
+ callback_time_mp_hour = #{callbackTimeMpHour,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeBaidu != null">
|
|
|
+ callback_time_baidu = #{callbackTimeBaidu,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="callbackTimeOppo != null">
|
|
|
+ callback_time_oppo = #{callbackTimeOppo,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="baiduCallback != null">
|
|
|
+ baidu_callback = #{baiduCallback,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ <if test="oppoCallback != null">
|
|
|
+ oppo_callback = #{oppoCallback,jdbcType=TINYINT},
|
|
|
+ </if>
|
|
|
+ </set>
|
|
|
+ where admin_id = #{adminId,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.book.push.dao.pojo.AdminConfig">
|
|
|
+ update admin_config
|
|
|
+ set is_fouce = #{isFouce,jdbcType=OTHER},
|
|
|
+ entryhost_id = #{entryhostId,jdbcType=INTEGER},
|
|
|
+ platform_list = #{platformList,jdbcType=VARCHAR},
|
|
|
+ platform_id = #{platformId,jdbcType=INTEGER},
|
|
|
+ menu_platform_id = #{menuPlatformId,jdbcType=INTEGER},
|
|
|
+ ophost_id = #{ophostId,jdbcType=INTEGER},
|
|
|
+ wxpay_id = #{wxpayId,jdbcType=INTEGER},
|
|
|
+ fans_count = #{fansCount,jdbcType=INTEGER},
|
|
|
+ appid = #{appid,jdbcType=VARCHAR},
|
|
|
+ secret = #{secret,jdbcType=VARCHAR},
|
|
|
+ txt = #{txt,jdbcType=VARCHAR},
|
|
|
+ refresh_token = #{refreshToken,jdbcType=VARCHAR},
|
|
|
+ json = #{json,jdbcType=OTHER},
|
|
|
+ wx_menu = #{wxMenu,jdbcType=OTHER},
|
|
|
+ is_auth = #{isAuth,jdbcType=OTHER},
|
|
|
+ qrcode_image = #{qrcodeImage,jdbcType=VARCHAR},
|
|
|
+ book_guide_chapter_idx = #{bookGuideChapterIdx,jdbcType=INTEGER},
|
|
|
+ book_chapter_price = #{bookChapterPrice,jdbcType=INTEGER},
|
|
|
+ subscribe_method = #{subscribeMethod,jdbcType=OTHER},
|
|
|
+ subscribe_url = #{subscribeUrl,jdbcType=VARCHAR},
|
|
|
+ manager_contact = #{managerContact,jdbcType=VARCHAR},
|
|
|
+ new_user_activity = #{newUserActivity,jdbcType=OTHER},
|
|
|
+ unpay_tip = #{unpayTip,jdbcType=OTHER},
|
|
|
+ read_tip = #{readTip,jdbcType=OTHER},
|
|
|
+ continueread_tip = #{continuereadTip,jdbcType=OTHER},
|
|
|
+ sign_tip = #{signTip,jdbcType=OTHER},
|
|
|
+ morning_pattern = #{morningPattern,jdbcType=OTHER},
|
|
|
+ subscribe_tip = #{subscribeTip,jdbcType=OTHER},
|
|
|
+ update_tip = #{updateTip,jdbcType=OTHER},
|
|
|
+ search_tip = #{searchTip,jdbcType=OTHER},
|
|
|
+ timing_tip = #{timingTip,jdbcType=OTHER},
|
|
|
+ like_tip = #{likeTip,jdbcType=OTHER},
|
|
|
+ page_sex = #{pageSex,jdbcType=OTHER},
|
|
|
+ page_title = #{pageTitle,jdbcType=OTHER},
|
|
|
+ vip_num = #{vipNum,jdbcType=INTEGER},
|
|
|
+ normal_num = #{normalNum,jdbcType=INTEGER},
|
|
|
+ is_blacklist = #{isBlacklist,jdbcType=BOOLEAN},
|
|
|
+ agent_vip_num = #{agentVipNum,jdbcType=INTEGER},
|
|
|
+ agent_normal_num = #{agentNormalNum,jdbcType=INTEGER},
|
|
|
+ agent_is_blacklist = #{agentIsBlacklist,jdbcType=BOOLEAN},
|
|
|
+ createtime = #{createtime,jdbcType=INTEGER},
|
|
|
+ updatetime = #{updatetime,jdbcType=INTEGER},
|
|
|
+ menuophost_id = #{menuophostId,jdbcType=INTEGER},
|
|
|
+ menuwxpay_id = #{menuwxpayId,jdbcType=INTEGER},
|
|
|
+ fakeophost_id = #{fakeophostId,jdbcType=INTEGER},
|
|
|
+ fakemenuophost_id = #{fakemenuophostId,jdbcType=INTEGER},
|
|
|
+ kl_rate = #{klRate,jdbcType=DECIMAL},
|
|
|
+ custom_goods = #{customGoods,jdbcType=TINYINT},
|
|
|
+ vip_state = #{vipState,jdbcType=BOOLEAN},
|
|
|
+ wx_ad_state = #{wxAdState,jdbcType=BOOLEAN},
|
|
|
+ vip_goods_id = #{vipGoodsId,jdbcType=INTEGER},
|
|
|
+ vip_pay_tpl = #{vipPayTpl,jdbcType=VARCHAR},
|
|
|
+ ref_out_push = #{refOutPush,jdbcType=BOOLEAN},
|
|
|
+ guide_domain = #{guideDomain,jdbcType=OTHER},
|
|
|
+ wx_ad_source_id = #{wxAdSourceId,jdbcType=BIGINT},
|
|
|
+ is_account_self = #{isAccountSelf,jdbcType=OTHER},
|
|
|
+ give_kandian = #{giveKandian,jdbcType=OTHER},
|
|
|
+ activity_show_recharge_page = #{activityShowRechargePage,jdbcType=TINYINT},
|
|
|
+ subscribe_delay = #{subscribeDelay,jdbcType=OTHER},
|
|
|
+ palmpay_sub_account_ids = #{palmpaySubAccountIds,jdbcType=OTHER},
|
|
|
+ first_recharge_imgtext_post = #{firstRechargeImgtextPost,jdbcType=OTHER},
|
|
|
+ order_unrecharge_post_time = #{orderUnrechargePostTime,jdbcType=TINYINT},
|
|
|
+ is_qrcode_menu = #{isQrcodeMenu,jdbcType=OTHER},
|
|
|
+ callback_time_tout = #{callbackTimeTout,jdbcType=TINYINT},
|
|
|
+ callback_time_mp = #{callbackTimeMp,jdbcType=TINYINT},
|
|
|
+ callback_time_gdt = #{callbackTimeGdt,jdbcType=TINYINT},
|
|
|
+ vip_custom_money = #{vipCustomMoney,jdbcType=FLOAT},
|
|
|
+ callback_time_uc = #{callbackTimeUc,jdbcType=TINYINT},
|
|
|
+ vip_goods_id_custom = #{vipGoodsIdCustom,jdbcType=INTEGER},
|
|
|
+ gdt_mp_report_state = #{gdtMpReportState,jdbcType=TINYINT},
|
|
|
+ is_subscription = #{isSubscription,jdbcType=INTEGER},
|
|
|
+ vip_relation_num = #{vipRelationNum,jdbcType=INTEGER},
|
|
|
+ subscription_num = #{subscriptionNum,jdbcType=INTEGER},
|
|
|
+ book_chapter_charge_start = #{bookChapterChargeStart,jdbcType=INTEGER},
|
|
|
+ orange_callback = #{orangeCallback,jdbcType=TINYINT},
|
|
|
+ show_vip_at_home = #{showVipAtHome,jdbcType=TINYINT},
|
|
|
+ block_ios_user_switch = #{blockIosUserSwitch,jdbcType=TINYINT},
|
|
|
+ extend = #{extend,jdbcType=OTHER},
|
|
|
+ callback_time_mp_all = #{callbackTimeMpAll,jdbcType=TINYINT},
|
|
|
+ callback_time_mp_money = #{callbackTimeMpMoney,jdbcType=TINYINT},
|
|
|
+ callback_time_mp_hour = #{callbackTimeMpHour,jdbcType=TINYINT},
|
|
|
+ callback_time_baidu = #{callbackTimeBaidu,jdbcType=TINYINT},
|
|
|
+ callback_time_oppo = #{callbackTimeOppo,jdbcType=TINYINT},
|
|
|
+ baidu_callback = #{baiduCallback,jdbcType=TINYINT},
|
|
|
+ oppo_callback = #{oppoCallback,jdbcType=TINYINT}
|
|
|
+ where admin_id = #{adminId,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+</mapper>
|