|
@@ -0,0 +1,1638 @@
|
|
|
+<?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.dao.cps.mapper.OrdersCollectMapper">
|
|
|
+ <resultMap id="BaseResultMap" type="com.book.dao.cps.entity.OrdersCollect">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ <id column="id" jdbcType="INTEGER" property="id"/>
|
|
|
+ <result column="admin_id" jdbcType="INTEGER" property="adminId"/>
|
|
|
+ <result column="type" jdbcType="CHAR" property="type"/>
|
|
|
+ <result column="flag" jdbcType="CHAR" property="flag"/>
|
|
|
+ <result column="business_line" jdbcType="CHAR" property="businessLine"/>
|
|
|
+ <result column="createdate" jdbcType="CHAR" property="createdate"/>
|
|
|
+ <result column="recharge_money" jdbcType="DECIMAL" property="rechargeMoney"/>
|
|
|
+ <result column="recharge_money_benefit" jdbcType="DECIMAL" property="rechargeMoneyBenefit"/>
|
|
|
+ <result column="normal_recharge_orders_count" jdbcType="INTEGER" property="normalRechargeOrdersCount"/>
|
|
|
+ <result column="normal_recharge_orders" jdbcType="INTEGER" property="normalRechargeOrders"/>
|
|
|
+ <result column="normal_recharge_money" jdbcType="DECIMAL" property="normalRechargeMoney"/>
|
|
|
+ <result column="normal_recharge_money_benefit" jdbcType="DECIMAL" property="normalRechargeMoneyBenefit"/>
|
|
|
+ <result column="normal_recharge_guide_orders" jdbcType="INTEGER" property="normalRechargeGuideOrders"/>
|
|
|
+ <result column="noraml_recharge_guide_money" jdbcType="DECIMAL" property="noramlRechargeGuideMoney"/>
|
|
|
+ <result column="normal_recharge_user_count" jdbcType="INTEGER" property="normalRechargeUserCount"/>
|
|
|
+ <result column="normal_recharge_user_suc_count" jdbcType="INTEGER" property="normalRechargeUserSucCount"/>
|
|
|
+ <result column="noraml_recharge_guide_money_benefit" jdbcType="DECIMAL"
|
|
|
+ property="noramlRechargeGuideMoneyBenefit"/>
|
|
|
+ <result column="vip_recharge_orders_count" jdbcType="INTEGER" property="vipRechargeOrdersCount"/>
|
|
|
+ <result column="vip_recharge_orders" jdbcType="INTEGER" property="vipRechargeOrders"/>
|
|
|
+ <result column="vip_recharge_money" jdbcType="DECIMAL" property="vipRechargeMoney"/>
|
|
|
+ <result column="vip_recharge_money_benefit" jdbcType="DECIMAL" property="vipRechargeMoneyBenefit"/>
|
|
|
+ <result column="vip_recharge_guide_orders" jdbcType="INTEGER" property="vipRechargeGuideOrders"/>
|
|
|
+ <result column="vip_recharge_guide_money" jdbcType="DECIMAL" property="vipRechargeGuideMoney"/>
|
|
|
+ <result column="vip_recharge_user_count" jdbcType="INTEGER" property="vipRechargeUserCount"/>
|
|
|
+ <result column="vip_recharge_user_suc_count" jdbcType="INTEGER" property="vipRechargeUserSucCount"/>
|
|
|
+ <result column="kandian_recharge_orders" jdbcType="INTEGER" property="kandianRechargeOrders"/>
|
|
|
+ <result column="kandian_recharge_orders_count" jdbcType="INTEGER" property="kandianRechargeOrdersCount"/>
|
|
|
+ <result column="pv" jdbcType="INTEGER" property="pv"/>
|
|
|
+ <result column="uv" jdbcType="INTEGER" property="uv"/>
|
|
|
+ <result column="vip_recharge_guide_money_benefit" jdbcType="DECIMAL" property="vipRechargeGuideMoneyBenefit"/>
|
|
|
+ <result column="createtime" jdbcType="INTEGER" property="createtime"/>
|
|
|
+ <result column="updatetime" jdbcType="INTEGER" property="updatetime"/>
|
|
|
+ <result column="recharge_user_count" jdbcType="INTEGER" property="rechargeUserCount"/>
|
|
|
+ <result column="recharge_user_suc_count" jdbcType="INTEGER" property="rechargeUserSucCount"/>
|
|
|
+ <result column="split_money" jdbcType="DECIMAL" property="splitMoney"/>
|
|
|
+ </resultMap>
|
|
|
+ <sql id="Example_Where_Clause">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ <where>
|
|
|
+ <foreach collection="oredCriteria" item="criteria" separator="or">
|
|
|
+ <if test="criteria.valid">
|
|
|
+ <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
+ <foreach collection="criteria.criteria" item="criterion">
|
|
|
+ <choose>
|
|
|
+ <when test="criterion.noValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.singleValue">
|
|
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.betweenValue">
|
|
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.listValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="("
|
|
|
+ separator=",">
|
|
|
+ #{listItem}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </foreach>
|
|
|
+ </trim>
|
|
|
+ </if>
|
|
|
+ </foreach>
|
|
|
+ </where>
|
|
|
+ </sql>
|
|
|
+ <sql id="Update_By_Example_Where_Clause">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ <where>
|
|
|
+ <foreach collection="example.oredCriteria" item="criteria" separator="or">
|
|
|
+ <if test="criteria.valid">
|
|
|
+ <trim prefix="(" prefixOverrides="and" suffix=")">
|
|
|
+ <foreach collection="criteria.criteria" item="criterion">
|
|
|
+ <choose>
|
|
|
+ <when test="criterion.noValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.singleValue">
|
|
|
+ and ${criterion.condition} #{criterion.value}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.betweenValue">
|
|
|
+ and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
|
|
|
+ </when>
|
|
|
+ <when test="criterion.listValue">
|
|
|
+ and ${criterion.condition}
|
|
|
+ <foreach close=")" collection="criterion.value" item="listItem" open="("
|
|
|
+ separator=",">
|
|
|
+ #{listItem}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ </choose>
|
|
|
+ </foreach>
|
|
|
+ </trim>
|
|
|
+ </if>
|
|
|
+ </foreach>
|
|
|
+ </where>
|
|
|
+ </sql>
|
|
|
+ <sql id="Base_Column_List">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ id, admin_id, type, flag, business_line, createdate, recharge_money, recharge_money_benefit,
|
|
|
+ normal_recharge_orders_count, normal_recharge_orders, normal_recharge_money, normal_recharge_money_benefit,
|
|
|
+ normal_recharge_guide_orders, noraml_recharge_guide_money, normal_recharge_user_count,
|
|
|
+ normal_recharge_user_suc_count, noraml_recharge_guide_money_benefit, vip_recharge_orders_count,
|
|
|
+ vip_recharge_orders, vip_recharge_money, vip_recharge_money_benefit, vip_recharge_guide_orders,
|
|
|
+ vip_recharge_guide_money, vip_recharge_user_count, vip_recharge_user_suc_count, kandian_recharge_orders,
|
|
|
+ kandian_recharge_orders_count, pv, uv, vip_recharge_guide_money_benefit, createtime,
|
|
|
+ updatetime, recharge_user_count, recharge_user_suc_count, split_money
|
|
|
+ </sql>
|
|
|
+ <select id="selectByExample" parameterType="com.book.dao.cps.pojo.example.OrdersCollectExample"
|
|
|
+ resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <if test="distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ from orders_collect
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ <if test="orderByClause != null">
|
|
|
+ order by ${orderByClause}
|
|
|
+ </if>
|
|
|
+ <if test="rows != null">
|
|
|
+ <if test="offset != null">
|
|
|
+ limit ${offset}, ${rows}
|
|
|
+ </if>
|
|
|
+ <if test="offset == null">
|
|
|
+ limit ${rows}
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <select id="selectByExampleSelective" parameterType="map" resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <if test="example != null and example.distinct">
|
|
|
+ distinct
|
|
|
+ </if>
|
|
|
+ <choose>
|
|
|
+ <when test="selective != null and selective.length > 0">
|
|
|
+ <foreach collection="selective" item="column" separator=",">
|
|
|
+ ${column.aliasedEscapedColumnName}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ from orders_collect
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ <if test="example != null and example.orderByClause != null">
|
|
|
+ order by ${example.orderByClause}
|
|
|
+ </if>
|
|
|
+ <if test="example != null and example.rows != null">
|
|
|
+ <if test="example.offset != null">
|
|
|
+ limit ${example.offset}, ${example.rows}
|
|
|
+ </if>
|
|
|
+ <if test="example.offset == null">
|
|
|
+ limit ${example.rows}
|
|
|
+ </if>
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <select id="selectByPrimaryKey" parameterType="java.lang.Integer" resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ from orders_collect
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </select>
|
|
|
+ <select id="selectByPrimaryKeySelective" parameterType="map" resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <choose>
|
|
|
+ <when test="selective != null and selective.length > 0">
|
|
|
+ <foreach collection="selective" item="column" separator=",">
|
|
|
+ ${column.aliasedEscapedColumnName}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ from orders_collect
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </select>
|
|
|
+ <delete id="deleteByPrimaryKey" parameterType="java.lang.Integer">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ delete from orders_collect
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </delete>
|
|
|
+ <delete id="deleteByExample" parameterType="com.book.dao.cps.pojo.example.OrdersCollectExample">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ delete from orders_collect
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ </delete>
|
|
|
+ <insert id="insert" parameterType="com.book.dao.cps.entity.OrdersCollect">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ insert into orders_collect (id, admin_id, type,
|
|
|
+ flag, business_line, createdate,
|
|
|
+ recharge_money, recharge_money_benefit, normal_recharge_orders_count,
|
|
|
+ normal_recharge_orders, normal_recharge_money,
|
|
|
+ normal_recharge_money_benefit, normal_recharge_guide_orders,
|
|
|
+ noraml_recharge_guide_money, normal_recharge_user_count,
|
|
|
+ normal_recharge_user_suc_count, noraml_recharge_guide_money_benefit,
|
|
|
+ vip_recharge_orders_count, vip_recharge_orders,
|
|
|
+ vip_recharge_money, vip_recharge_money_benefit,
|
|
|
+ vip_recharge_guide_orders, vip_recharge_guide_money,
|
|
|
+ vip_recharge_user_count, vip_recharge_user_suc_count,
|
|
|
+ kandian_recharge_orders, kandian_recharge_orders_count,
|
|
|
+ pv, uv, vip_recharge_guide_money_benefit,
|
|
|
+ createtime, updatetime, recharge_user_count,
|
|
|
+ recharge_user_suc_count, split_money)
|
|
|
+ values (#{id,jdbcType=INTEGER}, #{adminId,jdbcType=INTEGER}, #{type,jdbcType=CHAR},
|
|
|
+ #{flag,jdbcType=CHAR}, #{businessLine,jdbcType=CHAR}, #{createdate,jdbcType=CHAR},
|
|
|
+ #{rechargeMoney,jdbcType=DECIMAL}, #{rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ #{normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ #{normalRechargeOrders,jdbcType=INTEGER}, #{normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ #{normalRechargeMoneyBenefit,jdbcType=DECIMAL}, #{normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ #{noramlRechargeGuideMoney,jdbcType=DECIMAL}, #{normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ #{normalRechargeUserSucCount,jdbcType=INTEGER}, #{noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ #{vipRechargeOrdersCount,jdbcType=INTEGER}, #{vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ #{vipRechargeMoney,jdbcType=DECIMAL}, #{vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ #{vipRechargeGuideOrders,jdbcType=INTEGER}, #{vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ #{vipRechargeUserCount,jdbcType=INTEGER}, #{vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ #{kandianRechargeOrders,jdbcType=INTEGER}, #{kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ #{pv,jdbcType=INTEGER}, #{uv,jdbcType=INTEGER}, #{vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ #{createtime,jdbcType=INTEGER}, #{updatetime,jdbcType=INTEGER}, #{rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ #{rechargeUserSucCount,jdbcType=INTEGER}, #{splitMoney,jdbcType=DECIMAL})
|
|
|
+ </insert>
|
|
|
+ <insert id="insertSelective" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ insert into orders_collect
|
|
|
+ <choose>
|
|
|
+ <when test="selective != null and selective.length > 0">
|
|
|
+ <foreach close=")" collection="selective" item="column" open="(" separator=",">
|
|
|
+ ${column.escapedColumnName}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="record.id != null">
|
|
|
+ id,
|
|
|
+ </if>
|
|
|
+ <if test="record.adminId != null">
|
|
|
+ admin_id,
|
|
|
+ </if>
|
|
|
+ <if test="record.type != null">
|
|
|
+ type,
|
|
|
+ </if>
|
|
|
+ <if test="record.flag != null">
|
|
|
+ flag,
|
|
|
+ </if>
|
|
|
+ <if test="record.businessLine != null">
|
|
|
+ business_line,
|
|
|
+ </if>
|
|
|
+ <if test="record.createdate != null">
|
|
|
+ createdate,
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoney != null">
|
|
|
+ recharge_money,
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoneyBenefit != null">
|
|
|
+ recharge_money_benefit,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrdersCount != null">
|
|
|
+ normal_recharge_orders_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrders != null">
|
|
|
+ normal_recharge_orders,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoney != null">
|
|
|
+ normal_recharge_money,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoneyBenefit != null">
|
|
|
+ normal_recharge_money_benefit,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeGuideOrders != null">
|
|
|
+ normal_recharge_guide_orders,
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoney != null">
|
|
|
+ noraml_recharge_guide_money,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserCount != null">
|
|
|
+ normal_recharge_user_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserSucCount != null">
|
|
|
+ normal_recharge_user_suc_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoneyBenefit != null">
|
|
|
+ noraml_recharge_guide_money_benefit,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrdersCount != null">
|
|
|
+ vip_recharge_orders_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrders != null">
|
|
|
+ vip_recharge_orders,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoney != null">
|
|
|
+ vip_recharge_money,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoneyBenefit != null">
|
|
|
+ vip_recharge_money_benefit,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideOrders != null">
|
|
|
+ vip_recharge_guide_orders,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoney != null">
|
|
|
+ vip_recharge_guide_money,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserCount != null">
|
|
|
+ vip_recharge_user_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserSucCount != null">
|
|
|
+ vip_recharge_user_suc_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrders != null">
|
|
|
+ kandian_recharge_orders,
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrdersCount != null">
|
|
|
+ kandian_recharge_orders_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.pv != null">
|
|
|
+ pv,
|
|
|
+ </if>
|
|
|
+ <if test="record.uv != null">
|
|
|
+ uv,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoneyBenefit != null">
|
|
|
+ vip_recharge_guide_money_benefit,
|
|
|
+ </if>
|
|
|
+ <if test="record.createtime != null">
|
|
|
+ createtime,
|
|
|
+ </if>
|
|
|
+ <if test="record.updatetime != null">
|
|
|
+ updatetime,
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserCount != null">
|
|
|
+ recharge_user_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserSucCount != null">
|
|
|
+ recharge_user_suc_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.splitMoney != null">
|
|
|
+ split_money,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=","/>
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ values
|
|
|
+ <choose>
|
|
|
+ <when test="selective != null and selective.length > 0">
|
|
|
+ <foreach close=")" collection="selective" item="column" open="(" separator=",">
|
|
|
+ #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="record.id != null">
|
|
|
+ #{record.id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.adminId != null">
|
|
|
+ #{record.adminId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.type != null">
|
|
|
+ #{record.type,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.flag != null">
|
|
|
+ #{record.flag,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.businessLine != null">
|
|
|
+ #{record.businessLine,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createdate != null">
|
|
|
+ #{record.createdate,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoney != null">
|
|
|
+ #{record.rechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoneyBenefit != null">
|
|
|
+ #{record.rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrdersCount != null">
|
|
|
+ #{record.normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrders != null">
|
|
|
+ #{record.normalRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoney != null">
|
|
|
+ #{record.normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoneyBenefit != null">
|
|
|
+ #{record.normalRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeGuideOrders != null">
|
|
|
+ #{record.normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoney != null">
|
|
|
+ #{record.noramlRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserCount != null">
|
|
|
+ #{record.normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserSucCount != null">
|
|
|
+ #{record.normalRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoneyBenefit != null">
|
|
|
+ #{record.noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrdersCount != null">
|
|
|
+ #{record.vipRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrders != null">
|
|
|
+ #{record.vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoney != null">
|
|
|
+ #{record.vipRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoneyBenefit != null">
|
|
|
+ #{record.vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideOrders != null">
|
|
|
+ #{record.vipRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoney != null">
|
|
|
+ #{record.vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserCount != null">
|
|
|
+ #{record.vipRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserSucCount != null">
|
|
|
+ #{record.vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrders != null">
|
|
|
+ #{record.kandianRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrdersCount != null">
|
|
|
+ #{record.kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.pv != null">
|
|
|
+ #{record.pv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.uv != null">
|
|
|
+ #{record.uv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoneyBenefit != null">
|
|
|
+ #{record.vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.createtime != null">
|
|
|
+ #{record.createtime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.updatetime != null">
|
|
|
+ #{record.updatetime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserCount != null">
|
|
|
+ #{record.rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserSucCount != null">
|
|
|
+ #{record.rechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.splitMoney != null">
|
|
|
+ #{record.splitMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ </insert>
|
|
|
+ <select id="countByExample" parameterType="com.book.dao.cps.pojo.example.OrdersCollectExample"
|
|
|
+ resultType="java.lang.Long">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ select count(*) from orders_collect
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ </select>
|
|
|
+ <update id="updateByExampleSelective" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ update orders_collect
|
|
|
+ SET
|
|
|
+ <choose>
|
|
|
+ <when test="selective != null and selective.length > 0">
|
|
|
+ <foreach collection="selective" item="column" separator=",">
|
|
|
+ ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ <trim suffixOverrides=",">
|
|
|
+ <if test="record.id != null">
|
|
|
+ id = #{record.id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.adminId != null">
|
|
|
+ admin_id = #{record.adminId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.type != null">
|
|
|
+ type = #{record.type,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.flag != null">
|
|
|
+ flag = #{record.flag,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.businessLine != null">
|
|
|
+ business_line = #{record.businessLine,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createdate != null">
|
|
|
+ createdate = #{record.createdate,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoney != null">
|
|
|
+ recharge_money = #{record.rechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoneyBenefit != null">
|
|
|
+ recharge_money_benefit = #{record.rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrdersCount != null">
|
|
|
+ normal_recharge_orders_count = #{record.normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrders != null">
|
|
|
+ normal_recharge_orders = #{record.normalRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoney != null">
|
|
|
+ normal_recharge_money = #{record.normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoneyBenefit != null">
|
|
|
+ normal_recharge_money_benefit = #{record.normalRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeGuideOrders != null">
|
|
|
+ normal_recharge_guide_orders = #{record.normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoney != null">
|
|
|
+ noraml_recharge_guide_money = #{record.noramlRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserCount != null">
|
|
|
+ normal_recharge_user_count = #{record.normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserSucCount != null">
|
|
|
+ normal_recharge_user_suc_count = #{record.normalRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoneyBenefit != null">
|
|
|
+ noraml_recharge_guide_money_benefit =
|
|
|
+ #{record.noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrdersCount != null">
|
|
|
+ vip_recharge_orders_count = #{record.vipRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrders != null">
|
|
|
+ vip_recharge_orders = #{record.vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoney != null">
|
|
|
+ vip_recharge_money = #{record.vipRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoneyBenefit != null">
|
|
|
+ vip_recharge_money_benefit = #{record.vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideOrders != null">
|
|
|
+ vip_recharge_guide_orders = #{record.vipRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoney != null">
|
|
|
+ vip_recharge_guide_money = #{record.vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserCount != null">
|
|
|
+ vip_recharge_user_count = #{record.vipRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserSucCount != null">
|
|
|
+ vip_recharge_user_suc_count = #{record.vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrders != null">
|
|
|
+ kandian_recharge_orders = #{record.kandianRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrdersCount != null">
|
|
|
+ kandian_recharge_orders_count = #{record.kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.pv != null">
|
|
|
+ pv = #{record.pv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.uv != null">
|
|
|
+ uv = #{record.uv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoneyBenefit != null">
|
|
|
+ vip_recharge_guide_money_benefit = #{record.vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.createtime != null">
|
|
|
+ createtime = #{record.createtime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.updatetime != null">
|
|
|
+ updatetime = #{record.updatetime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserCount != null">
|
|
|
+ recharge_user_count = #{record.rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserSucCount != null">
|
|
|
+ recharge_user_suc_count = #{record.rechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.splitMoney != null">
|
|
|
+ split_money = #{record.splitMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByExample" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ update orders_collect
|
|
|
+ set id = #{record.id,jdbcType=INTEGER},
|
|
|
+ admin_id = #{record.adminId,jdbcType=INTEGER},
|
|
|
+ type = #{record.type,jdbcType=CHAR},
|
|
|
+ flag = #{record.flag,jdbcType=CHAR},
|
|
|
+ business_line = #{record.businessLine,jdbcType=CHAR},
|
|
|
+ createdate = #{record.createdate,jdbcType=CHAR},
|
|
|
+ recharge_money = #{record.rechargeMoney,jdbcType=DECIMAL},
|
|
|
+ recharge_money_benefit = #{record.rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_orders_count = #{record.normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ normal_recharge_orders = #{record.normalRechargeOrders,jdbcType=INTEGER},
|
|
|
+ normal_recharge_money = #{record.normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_money_benefit = #{record.normalRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_guide_orders = #{record.normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ noraml_recharge_guide_money = #{record.noramlRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_user_count = #{record.normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ normal_recharge_user_suc_count = #{record.normalRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ noraml_recharge_guide_money_benefit = #{record.noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_orders_count = #{record.vipRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ vip_recharge_orders = #{record.vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ vip_recharge_money = #{record.vipRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_money_benefit = #{record.vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_guide_orders = #{record.vipRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ vip_recharge_guide_money = #{record.vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_user_count = #{record.vipRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ vip_recharge_user_suc_count = #{record.vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ kandian_recharge_orders = #{record.kandianRechargeOrders,jdbcType=INTEGER},
|
|
|
+ kandian_recharge_orders_count = #{record.kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ pv = #{record.pv,jdbcType=INTEGER},
|
|
|
+ uv = #{record.uv,jdbcType=INTEGER},
|
|
|
+ vip_recharge_guide_money_benefit = #{record.vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ createtime = #{record.createtime,jdbcType=INTEGER},
|
|
|
+ updatetime = #{record.updatetime,jdbcType=INTEGER},
|
|
|
+ recharge_user_count = #{record.rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ recharge_user_suc_count = #{record.rechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ split_money = #{record.splitMoney,jdbcType=DECIMAL}
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKeySelective" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ update orders_collect
|
|
|
+ SET
|
|
|
+ <choose>
|
|
|
+ <when test="selective != null and selective.length > 0">
|
|
|
+ <foreach collection="selective" item="column" separator=",">
|
|
|
+ ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ <trim suffixOverrides=",">
|
|
|
+ <if test="record.adminId != null">
|
|
|
+ admin_id = #{record.adminId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.type != null">
|
|
|
+ type = #{record.type,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.flag != null">
|
|
|
+ flag = #{record.flag,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.businessLine != null">
|
|
|
+ business_line = #{record.businessLine,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createdate != null">
|
|
|
+ createdate = #{record.createdate,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoney != null">
|
|
|
+ recharge_money = #{record.rechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoneyBenefit != null">
|
|
|
+ recharge_money_benefit = #{record.rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrdersCount != null">
|
|
|
+ normal_recharge_orders_count = #{record.normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrders != null">
|
|
|
+ normal_recharge_orders = #{record.normalRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoney != null">
|
|
|
+ normal_recharge_money = #{record.normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoneyBenefit != null">
|
|
|
+ normal_recharge_money_benefit = #{record.normalRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeGuideOrders != null">
|
|
|
+ normal_recharge_guide_orders = #{record.normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoney != null">
|
|
|
+ noraml_recharge_guide_money = #{record.noramlRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserCount != null">
|
|
|
+ normal_recharge_user_count = #{record.normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserSucCount != null">
|
|
|
+ normal_recharge_user_suc_count = #{record.normalRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoneyBenefit != null">
|
|
|
+ noraml_recharge_guide_money_benefit =
|
|
|
+ #{record.noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrdersCount != null">
|
|
|
+ vip_recharge_orders_count = #{record.vipRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrders != null">
|
|
|
+ vip_recharge_orders = #{record.vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoney != null">
|
|
|
+ vip_recharge_money = #{record.vipRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoneyBenefit != null">
|
|
|
+ vip_recharge_money_benefit = #{record.vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideOrders != null">
|
|
|
+ vip_recharge_guide_orders = #{record.vipRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoney != null">
|
|
|
+ vip_recharge_guide_money = #{record.vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserCount != null">
|
|
|
+ vip_recharge_user_count = #{record.vipRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserSucCount != null">
|
|
|
+ vip_recharge_user_suc_count = #{record.vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrders != null">
|
|
|
+ kandian_recharge_orders = #{record.kandianRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrdersCount != null">
|
|
|
+ kandian_recharge_orders_count = #{record.kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.pv != null">
|
|
|
+ pv = #{record.pv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.uv != null">
|
|
|
+ uv = #{record.uv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoneyBenefit != null">
|
|
|
+ vip_recharge_guide_money_benefit = #{record.vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.createtime != null">
|
|
|
+ createtime = #{record.createtime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.updatetime != null">
|
|
|
+ updatetime = #{record.updatetime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserCount != null">
|
|
|
+ recharge_user_count = #{record.rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserSucCount != null">
|
|
|
+ recharge_user_suc_count = #{record.rechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.splitMoney != null">
|
|
|
+ split_money = #{record.splitMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ where id = #{record.id,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+ <update id="updateByPrimaryKey" parameterType="com.book.dao.cps.entity.OrdersCollect">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ update orders_collect
|
|
|
+ set admin_id = #{adminId,jdbcType=INTEGER},
|
|
|
+ type = #{type,jdbcType=CHAR},
|
|
|
+ flag = #{flag,jdbcType=CHAR},
|
|
|
+ business_line = #{businessLine,jdbcType=CHAR},
|
|
|
+ createdate = #{createdate,jdbcType=CHAR},
|
|
|
+ recharge_money = #{rechargeMoney,jdbcType=DECIMAL},
|
|
|
+ recharge_money_benefit = #{rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_orders_count = #{normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ normal_recharge_orders = #{normalRechargeOrders,jdbcType=INTEGER},
|
|
|
+ normal_recharge_money = #{normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_money_benefit = #{normalRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_guide_orders = #{normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ noraml_recharge_guide_money = #{noramlRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_user_count = #{normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ normal_recharge_user_suc_count = #{normalRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ noraml_recharge_guide_money_benefit = #{noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_orders_count = #{vipRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ vip_recharge_orders = #{vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ vip_recharge_money = #{vipRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_money_benefit = #{vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_guide_orders = #{vipRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ vip_recharge_guide_money = #{vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_user_count = #{vipRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ vip_recharge_user_suc_count = #{vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ kandian_recharge_orders = #{kandianRechargeOrders,jdbcType=INTEGER},
|
|
|
+ kandian_recharge_orders_count = #{kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ pv = #{pv,jdbcType=INTEGER},
|
|
|
+ uv = #{uv,jdbcType=INTEGER},
|
|
|
+ vip_recharge_guide_money_benefit = #{vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ createtime = #{createtime,jdbcType=INTEGER},
|
|
|
+ updatetime = #{updatetime,jdbcType=INTEGER},
|
|
|
+ recharge_user_count = #{rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ recharge_user_suc_count = #{rechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ split_money = #{splitMoney,jdbcType=DECIMAL}
|
|
|
+ where id = #{id,jdbcType=INTEGER}
|
|
|
+ </update>
|
|
|
+ <update id="updateCollect" parameterType="com.book.dao.cps.entity.OrdersCollect">
|
|
|
+ update orders_collect set
|
|
|
+ <trim suffixOverrides=",">
|
|
|
+
|
|
|
+
|
|
|
+ <if test="rechargeMoney != null">
|
|
|
+ recharge_money = recharge_money + #{rechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="rechargeMoneyBenefit != null">
|
|
|
+ recharge_money_benefit =recharge_money_benefit + #{rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="normalRechargeOrdersCount != null">
|
|
|
+ normal_recharge_orders_count = normal_recharge_orders_count+
|
|
|
+ #{normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="normalRechargeOrders != null">
|
|
|
+ normal_recharge_orders =normal_recharge_orders+ #{normalRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="normalRechargeMoney != null">
|
|
|
+ normal_recharge_money =normal_recharge_money+ #{normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="normalRechargeMoneyBenefit != null">
|
|
|
+ normal_recharge_money_benefit = normal_recharge_money_benefit+
|
|
|
+ #{normalRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="normalRechargeGuideOrders != null">
|
|
|
+ normal_recharge_guide_orders =normal_recharge_guide_orders+
|
|
|
+ #{normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="noramlRechargeGuideMoney != null">
|
|
|
+ noraml_recharge_guide_money =noraml_recharge_guide_money+
|
|
|
+ #{noramlRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="normalRechargeUserCount != null">
|
|
|
+ normal_recharge_user_count =normal_recharge_user_count+
|
|
|
+ #{normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="normalRechargeUserSucCount != null">
|
|
|
+ normal_recharge_user_suc_count =normal_recharge_user_suc_count+
|
|
|
+ #{normalRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="noramlRechargeGuideMoneyBenefit != null">
|
|
|
+ noraml_recharge_guide_money_benefit =noraml_recharge_guide_money_benefit+
|
|
|
+ #{noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="vipRechargeOrdersCount != null">
|
|
|
+ vip_recharge_orders_count =vip_recharge_orders_count+ #{vipRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="vipRechargeOrders != null">
|
|
|
+ vip_recharge_orders =vip_recharge_orders+ #{vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="vipRechargeMoney != null">
|
|
|
+ vip_recharge_money =vip_recharge_money+ #{vipRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="vipRechargeMoneyBenefit != null">
|
|
|
+ vip_recharge_money_benefit =vip_recharge_money_benefit+
|
|
|
+ #{vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="vipRechargeGuideOrders != null">
|
|
|
+ vip_recharge_guide_orders =vip_recharge_guide_orders+ #{vipRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="vipRechargeGuideMoney != null">
|
|
|
+ vip_recharge_guide_money =vip_recharge_guide_money+ #{vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="vipRechargeUserCount != null">
|
|
|
+ vip_recharge_user_count =vip_recharge_user_count+ #{vipRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="vipRechargeUserSucCount != null">
|
|
|
+ vip_recharge_user_suc_count =vip_recharge_user_suc_count+
|
|
|
+ #{vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="kandianRechargeOrders != null">
|
|
|
+ kandian_recharge_orders =kandian_recharge_orders+ #{kandianRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="kandianRechargeOrdersCount != null">
|
|
|
+ kandian_recharge_orders_count =kandian_recharge_orders_count+
|
|
|
+ #{kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="pv != null">
|
|
|
+ pv =pv+ #{pv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="uv != null">
|
|
|
+ uv =uv+ #{uv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="vipRechargeGuideMoneyBenefit != null">
|
|
|
+ vip_recharge_guide_money_benefit =vip_recharge_guide_money_benefit+
|
|
|
+ #{vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+
|
|
|
+ <if test="updatetime != null">
|
|
|
+ updatetime = #{updatetime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="rechargeUserCount != null">
|
|
|
+ recharge_user_count =recharge_user_count+ #{rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="rechargeUserSucCount != null">
|
|
|
+ recharge_user_suc_count =recharge_user_suc_count+ #{rechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="splitMoney != null">
|
|
|
+ split_money =split_money+ #{splitMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ where
|
|
|
+
|
|
|
+ <trim suffixOverrides="and">
|
|
|
+ <if test="adminId != null">
|
|
|
+ admin_id = #{adminId,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="type != null">
|
|
|
+ and type = #{type,jdbcType=CHAR}
|
|
|
+ </if>
|
|
|
+ <if test="flag != null">
|
|
|
+ and flag = #{flag,jdbcType=CHAR}
|
|
|
+ </if>
|
|
|
+ <if test="businessLine != null">
|
|
|
+ and business_line = #{businessLine,jdbcType=CHAR}
|
|
|
+ </if>
|
|
|
+ <if test="createdate != null">
|
|
|
+ and createdate = #{createdate,jdbcType=CHAR}
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </update>
|
|
|
+ <select id="selectOneByExample" parameterType="com.book.dao.cps.pojo.example.OrdersCollectExample"
|
|
|
+ resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ from orders_collect
|
|
|
+ <if test="_parameter != null">
|
|
|
+ <include refid="Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ <if test="orderByClause != null">
|
|
|
+ order by ${orderByClause}
|
|
|
+ </if>
|
|
|
+ limit 1
|
|
|
+ </select>
|
|
|
+ <select id="selectOneByExampleSelective" parameterType="map" resultMap="BaseResultMap">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ select
|
|
|
+ <choose>
|
|
|
+ <when test="selective != null and selective.length > 0">
|
|
|
+ <foreach collection="selective" item="column" separator=",">
|
|
|
+ ${column.aliasedEscapedColumnName}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ <include refid="Base_Column_List"/>
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ from orders_collect
|
|
|
+ <if test="example != null">
|
|
|
+ <include refid="Update_By_Example_Where_Clause"/>
|
|
|
+ </if>
|
|
|
+ <if test="example != null and example.orderByClause != null">
|
|
|
+ order by ${example.orderByClause}
|
|
|
+ </if>
|
|
|
+ limit 1
|
|
|
+ </select>
|
|
|
+ <insert id="batchInsert" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ insert into orders_collect
|
|
|
+ (id, admin_id, type, flag, business_line, createdate, recharge_money, recharge_money_benefit,
|
|
|
+ normal_recharge_orders_count, normal_recharge_orders, normal_recharge_money, normal_recharge_money_benefit,
|
|
|
+ normal_recharge_guide_orders, noraml_recharge_guide_money, normal_recharge_user_count,
|
|
|
+ normal_recharge_user_suc_count, noraml_recharge_guide_money_benefit, vip_recharge_orders_count,
|
|
|
+ vip_recharge_orders, vip_recharge_money, vip_recharge_money_benefit, vip_recharge_guide_orders,
|
|
|
+ vip_recharge_guide_money, vip_recharge_user_count, vip_recharge_user_suc_count,
|
|
|
+ kandian_recharge_orders, kandian_recharge_orders_count, pv, uv, vip_recharge_guide_money_benefit,
|
|
|
+ createtime, updatetime, recharge_user_count, recharge_user_suc_count, split_money
|
|
|
+ )
|
|
|
+ values
|
|
|
+ <foreach collection="list" item="item" separator=",">
|
|
|
+ (#{item.id,jdbcType=INTEGER}, #{item.adminId,jdbcType=INTEGER}, #{item.type,jdbcType=CHAR},
|
|
|
+ #{item.flag,jdbcType=CHAR}, #{item.businessLine,jdbcType=CHAR}, #{item.createdate,jdbcType=CHAR},
|
|
|
+ #{item.rechargeMoney,jdbcType=DECIMAL}, #{item.rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ #{item.normalRechargeOrdersCount,jdbcType=INTEGER}, #{item.normalRechargeOrders,jdbcType=INTEGER},
|
|
|
+ #{item.normalRechargeMoney,jdbcType=DECIMAL}, #{item.normalRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ #{item.normalRechargeGuideOrders,jdbcType=INTEGER}, #{item.noramlRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ #{item.normalRechargeUserCount,jdbcType=INTEGER}, #{item.normalRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ #{item.noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL}, #{item.vipRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ #{item.vipRechargeOrders,jdbcType=INTEGER}, #{item.vipRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ #{item.vipRechargeMoneyBenefit,jdbcType=DECIMAL}, #{item.vipRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ #{item.vipRechargeGuideMoney,jdbcType=DECIMAL}, #{item.vipRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ #{item.vipRechargeUserSucCount,jdbcType=INTEGER}, #{item.kandianRechargeOrders,jdbcType=INTEGER},
|
|
|
+ #{item.kandianRechargeOrdersCount,jdbcType=INTEGER}, #{item.pv,jdbcType=INTEGER},
|
|
|
+ #{item.uv,jdbcType=INTEGER}, #{item.vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ #{item.createtime,jdbcType=INTEGER}, #{item.updatetime,jdbcType=INTEGER},
|
|
|
+ #{item.rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ #{item.rechargeUserSucCount,jdbcType=INTEGER}, #{item.splitMoney,jdbcType=DECIMAL}
|
|
|
+ )
|
|
|
+ </foreach>
|
|
|
+ </insert>
|
|
|
+ <insert id="batchInsertSelective" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ insert into orders_collect (
|
|
|
+ <foreach collection="selective" item="column" separator=",">
|
|
|
+ ${column.escapedColumnName}
|
|
|
+ </foreach>
|
|
|
+ )
|
|
|
+ values
|
|
|
+ <foreach collection="list" item="item" separator=",">
|
|
|
+ (
|
|
|
+ <foreach collection="selective" item="column" separator=",">
|
|
|
+ <if test="'id'.toString() == column.value">
|
|
|
+ #{item.id,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'admin_id'.toString() == column.value">
|
|
|
+ #{item.adminId,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'type'.toString() == column.value">
|
|
|
+ #{item.type,jdbcType=CHAR}
|
|
|
+ </if>
|
|
|
+ <if test="'flag'.toString() == column.value">
|
|
|
+ #{item.flag,jdbcType=CHAR}
|
|
|
+ </if>
|
|
|
+ <if test="'business_line'.toString() == column.value">
|
|
|
+ #{item.businessLine,jdbcType=CHAR}
|
|
|
+ </if>
|
|
|
+ <if test="'createdate'.toString() == column.value">
|
|
|
+ #{item.createdate,jdbcType=CHAR}
|
|
|
+ </if>
|
|
|
+ <if test="'recharge_money'.toString() == column.value">
|
|
|
+ #{item.rechargeMoney,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ <if test="'recharge_money_benefit'.toString() == column.value">
|
|
|
+ #{item.rechargeMoneyBenefit,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ <if test="'normal_recharge_orders_count'.toString() == column.value">
|
|
|
+ #{item.normalRechargeOrdersCount,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'normal_recharge_orders'.toString() == column.value">
|
|
|
+ #{item.normalRechargeOrders,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'normal_recharge_money'.toString() == column.value">
|
|
|
+ #{item.normalRechargeMoney,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ <if test="'normal_recharge_money_benefit'.toString() == column.value">
|
|
|
+ #{item.normalRechargeMoneyBenefit,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ <if test="'normal_recharge_guide_orders'.toString() == column.value">
|
|
|
+ #{item.normalRechargeGuideOrders,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'noraml_recharge_guide_money'.toString() == column.value">
|
|
|
+ #{item.noramlRechargeGuideMoney,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ <if test="'normal_recharge_user_count'.toString() == column.value">
|
|
|
+ #{item.normalRechargeUserCount,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'normal_recharge_user_suc_count'.toString() == column.value">
|
|
|
+ #{item.normalRechargeUserSucCount,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'noraml_recharge_guide_money_benefit'.toString() == column.value">
|
|
|
+ #{item.noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ <if test="'vip_recharge_orders_count'.toString() == column.value">
|
|
|
+ #{item.vipRechargeOrdersCount,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'vip_recharge_orders'.toString() == column.value">
|
|
|
+ #{item.vipRechargeOrders,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'vip_recharge_money'.toString() == column.value">
|
|
|
+ #{item.vipRechargeMoney,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ <if test="'vip_recharge_money_benefit'.toString() == column.value">
|
|
|
+ #{item.vipRechargeMoneyBenefit,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ <if test="'vip_recharge_guide_orders'.toString() == column.value">
|
|
|
+ #{item.vipRechargeGuideOrders,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'vip_recharge_guide_money'.toString() == column.value">
|
|
|
+ #{item.vipRechargeGuideMoney,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ <if test="'vip_recharge_user_count'.toString() == column.value">
|
|
|
+ #{item.vipRechargeUserCount,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'vip_recharge_user_suc_count'.toString() == column.value">
|
|
|
+ #{item.vipRechargeUserSucCount,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'kandian_recharge_orders'.toString() == column.value">
|
|
|
+ #{item.kandianRechargeOrders,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'kandian_recharge_orders_count'.toString() == column.value">
|
|
|
+ #{item.kandianRechargeOrdersCount,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'pv'.toString() == column.value">
|
|
|
+ #{item.pv,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'uv'.toString() == column.value">
|
|
|
+ #{item.uv,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'vip_recharge_guide_money_benefit'.toString() == column.value">
|
|
|
+ #{item.vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ <if test="'createtime'.toString() == column.value">
|
|
|
+ #{item.createtime,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'updatetime'.toString() == column.value">
|
|
|
+ #{item.updatetime,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'recharge_user_count'.toString() == column.value">
|
|
|
+ #{item.rechargeUserCount,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'recharge_user_suc_count'.toString() == column.value">
|
|
|
+ #{item.rechargeUserSucCount,jdbcType=INTEGER}
|
|
|
+ </if>
|
|
|
+ <if test="'split_money'.toString() == column.value">
|
|
|
+ #{item.splitMoney,jdbcType=DECIMAL}
|
|
|
+ </if>
|
|
|
+ </foreach>
|
|
|
+ )
|
|
|
+ </foreach>
|
|
|
+ </insert>
|
|
|
+ <insert id="upsertSelective" parameterType="map">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ insert into orders_collect
|
|
|
+ <choose>
|
|
|
+ <when test="selective != null and selective.length > 0">
|
|
|
+ <foreach close=")" collection="selective" item="column" open="(" separator=",">
|
|
|
+ ${column.escapedColumnName}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="record.id != null">
|
|
|
+ id,
|
|
|
+ </if>
|
|
|
+ <if test="record.adminId != null">
|
|
|
+ admin_id,
|
|
|
+ </if>
|
|
|
+ <if test="record.type != null">
|
|
|
+ type,
|
|
|
+ </if>
|
|
|
+ <if test="record.flag != null">
|
|
|
+ flag,
|
|
|
+ </if>
|
|
|
+ <if test="record.businessLine != null">
|
|
|
+ business_line,
|
|
|
+ </if>
|
|
|
+ <if test="record.createdate != null">
|
|
|
+ createdate,
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoney != null">
|
|
|
+ recharge_money,
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoneyBenefit != null">
|
|
|
+ recharge_money_benefit,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrdersCount != null">
|
|
|
+ normal_recharge_orders_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrders != null">
|
|
|
+ normal_recharge_orders,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoney != null">
|
|
|
+ normal_recharge_money,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoneyBenefit != null">
|
|
|
+ normal_recharge_money_benefit,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeGuideOrders != null">
|
|
|
+ normal_recharge_guide_orders,
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoney != null">
|
|
|
+ noraml_recharge_guide_money,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserCount != null">
|
|
|
+ normal_recharge_user_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserSucCount != null">
|
|
|
+ normal_recharge_user_suc_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoneyBenefit != null">
|
|
|
+ noraml_recharge_guide_money_benefit,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrdersCount != null">
|
|
|
+ vip_recharge_orders_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrders != null">
|
|
|
+ vip_recharge_orders,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoney != null">
|
|
|
+ vip_recharge_money,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoneyBenefit != null">
|
|
|
+ vip_recharge_money_benefit,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideOrders != null">
|
|
|
+ vip_recharge_guide_orders,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoney != null">
|
|
|
+ vip_recharge_guide_money,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserCount != null">
|
|
|
+ vip_recharge_user_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserSucCount != null">
|
|
|
+ vip_recharge_user_suc_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrders != null">
|
|
|
+ kandian_recharge_orders,
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrdersCount != null">
|
|
|
+ kandian_recharge_orders_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.pv != null">
|
|
|
+ pv,
|
|
|
+ </if>
|
|
|
+ <if test="record.uv != null">
|
|
|
+ uv,
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoneyBenefit != null">
|
|
|
+ vip_recharge_guide_money_benefit,
|
|
|
+ </if>
|
|
|
+ <if test="record.createtime != null">
|
|
|
+ createtime,
|
|
|
+ </if>
|
|
|
+ <if test="record.updatetime != null">
|
|
|
+ updatetime,
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserCount != null">
|
|
|
+ recharge_user_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserSucCount != null">
|
|
|
+ recharge_user_suc_count,
|
|
|
+ </if>
|
|
|
+ <if test="record.splitMoney != null">
|
|
|
+ split_money,
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=","/>
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ values
|
|
|
+ <choose>
|
|
|
+ <when test="selective != null and selective.length > 0">
|
|
|
+ <foreach close=")" collection="selective" item="column" open="(" separator=",">
|
|
|
+ #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ <trim prefix="(" suffix=")" suffixOverrides=",">
|
|
|
+ <if test="record.id != null">
|
|
|
+ #{record.id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.adminId != null">
|
|
|
+ #{record.adminId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.type != null">
|
|
|
+ #{record.type,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.flag != null">
|
|
|
+ #{record.flag,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.businessLine != null">
|
|
|
+ #{record.businessLine,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createdate != null">
|
|
|
+ #{record.createdate,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoney != null">
|
|
|
+ #{record.rechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoneyBenefit != null">
|
|
|
+ #{record.rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrdersCount != null">
|
|
|
+ #{record.normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrders != null">
|
|
|
+ #{record.normalRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoney != null">
|
|
|
+ #{record.normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoneyBenefit != null">
|
|
|
+ #{record.normalRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeGuideOrders != null">
|
|
|
+ #{record.normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoney != null">
|
|
|
+ #{record.noramlRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserCount != null">
|
|
|
+ #{record.normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserSucCount != null">
|
|
|
+ #{record.normalRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoneyBenefit != null">
|
|
|
+ #{record.noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrdersCount != null">
|
|
|
+ #{record.vipRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrders != null">
|
|
|
+ #{record.vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoney != null">
|
|
|
+ #{record.vipRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoneyBenefit != null">
|
|
|
+ #{record.vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideOrders != null">
|
|
|
+ #{record.vipRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoney != null">
|
|
|
+ #{record.vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserCount != null">
|
|
|
+ #{record.vipRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserSucCount != null">
|
|
|
+ #{record.vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrders != null">
|
|
|
+ #{record.kandianRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrdersCount != null">
|
|
|
+ #{record.kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.pv != null">
|
|
|
+ #{record.pv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.uv != null">
|
|
|
+ #{record.uv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoneyBenefit != null">
|
|
|
+ #{record.vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.createtime != null">
|
|
|
+ #{record.createtime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.updatetime != null">
|
|
|
+ #{record.updatetime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserCount != null">
|
|
|
+ #{record.rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserSucCount != null">
|
|
|
+ #{record.rechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.splitMoney != null">
|
|
|
+ #{record.splitMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ on duplicate key update
|
|
|
+ <choose>
|
|
|
+ <when test="selective != null and selective.length > 0">
|
|
|
+ <foreach collection="selective" item="column" separator=",">
|
|
|
+ ${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
|
|
|
+ </foreach>
|
|
|
+ </when>
|
|
|
+ <otherwise>
|
|
|
+ <trim suffixOverrides=",">
|
|
|
+ <if test="record.id != null">
|
|
|
+ id = #{record.id,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.adminId != null">
|
|
|
+ admin_id = #{record.adminId,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.type != null">
|
|
|
+ type = #{record.type,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.flag != null">
|
|
|
+ flag = #{record.flag,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.businessLine != null">
|
|
|
+ business_line = #{record.businessLine,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.createdate != null">
|
|
|
+ createdate = #{record.createdate,jdbcType=CHAR},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoney != null">
|
|
|
+ recharge_money = #{record.rechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeMoneyBenefit != null">
|
|
|
+ recharge_money_benefit = #{record.rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrdersCount != null">
|
|
|
+ normal_recharge_orders_count = #{record.normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeOrders != null">
|
|
|
+ normal_recharge_orders = #{record.normalRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoney != null">
|
|
|
+ normal_recharge_money = #{record.normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeMoneyBenefit != null">
|
|
|
+ normal_recharge_money_benefit = #{record.normalRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeGuideOrders != null">
|
|
|
+ normal_recharge_guide_orders = #{record.normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoney != null">
|
|
|
+ noraml_recharge_guide_money = #{record.noramlRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserCount != null">
|
|
|
+ normal_recharge_user_count = #{record.normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.normalRechargeUserSucCount != null">
|
|
|
+ normal_recharge_user_suc_count = #{record.normalRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.noramlRechargeGuideMoneyBenefit != null">
|
|
|
+ noraml_recharge_guide_money_benefit =
|
|
|
+ #{record.noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrdersCount != null">
|
|
|
+ vip_recharge_orders_count = #{record.vipRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeOrders != null">
|
|
|
+ vip_recharge_orders = #{record.vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoney != null">
|
|
|
+ vip_recharge_money = #{record.vipRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeMoneyBenefit != null">
|
|
|
+ vip_recharge_money_benefit = #{record.vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideOrders != null">
|
|
|
+ vip_recharge_guide_orders = #{record.vipRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoney != null">
|
|
|
+ vip_recharge_guide_money = #{record.vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserCount != null">
|
|
|
+ vip_recharge_user_count = #{record.vipRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeUserSucCount != null">
|
|
|
+ vip_recharge_user_suc_count = #{record.vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrders != null">
|
|
|
+ kandian_recharge_orders = #{record.kandianRechargeOrders,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.kandianRechargeOrdersCount != null">
|
|
|
+ kandian_recharge_orders_count = #{record.kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.pv != null">
|
|
|
+ pv = #{record.pv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.uv != null">
|
|
|
+ uv = #{record.uv,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.vipRechargeGuideMoneyBenefit != null">
|
|
|
+ vip_recharge_guide_money_benefit = #{record.vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ <if test="record.createtime != null">
|
|
|
+ createtime = #{record.createtime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.updatetime != null">
|
|
|
+ updatetime = #{record.updatetime,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserCount != null">
|
|
|
+ recharge_user_count = #{record.rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.rechargeUserSucCount != null">
|
|
|
+ recharge_user_suc_count = #{record.rechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ </if>
|
|
|
+ <if test="record.splitMoney != null">
|
|
|
+ split_money = #{record.splitMoney,jdbcType=DECIMAL},
|
|
|
+ </if>
|
|
|
+ </trim>
|
|
|
+ </otherwise>
|
|
|
+ </choose>
|
|
|
+ </insert>
|
|
|
+ <insert id="upsert" parameterType="com.book.dao.cps.entity.OrdersCollect">
|
|
|
+ <!--
|
|
|
+ WARNING - @mbg.generated
|
|
|
+ This element is automatically generated by MyBatis Generator, do not modify.
|
|
|
+ This element was generated on Thu Sep 23 20:40:37 CST 2021.
|
|
|
+ -->
|
|
|
+ insert into orders_collect
|
|
|
+ (id, admin_id, type, flag, business_line, createdate, recharge_money, recharge_money_benefit,
|
|
|
+ normal_recharge_orders_count, normal_recharge_orders, normal_recharge_money, normal_recharge_money_benefit,
|
|
|
+ normal_recharge_guide_orders, noraml_recharge_guide_money, normal_recharge_user_count,
|
|
|
+ normal_recharge_user_suc_count, noraml_recharge_guide_money_benefit, vip_recharge_orders_count,
|
|
|
+ vip_recharge_orders, vip_recharge_money, vip_recharge_money_benefit, vip_recharge_guide_orders,
|
|
|
+ vip_recharge_guide_money, vip_recharge_user_count, vip_recharge_user_suc_count,
|
|
|
+ kandian_recharge_orders, kandian_recharge_orders_count, pv, uv, vip_recharge_guide_money_benefit,
|
|
|
+ createtime, updatetime, recharge_user_count, recharge_user_suc_count, split_money
|
|
|
+ )
|
|
|
+ values
|
|
|
+ (#{id,jdbcType=INTEGER}, #{adminId,jdbcType=INTEGER}, #{type,jdbcType=CHAR}, #{flag,jdbcType=CHAR},
|
|
|
+ #{businessLine,jdbcType=CHAR}, #{createdate,jdbcType=CHAR}, #{rechargeMoney,jdbcType=DECIMAL},
|
|
|
+ #{rechargeMoneyBenefit,jdbcType=DECIMAL}, #{normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ #{normalRechargeOrders,jdbcType=INTEGER}, #{normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ #{normalRechargeMoneyBenefit,jdbcType=DECIMAL}, #{normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ #{noramlRechargeGuideMoney,jdbcType=DECIMAL}, #{normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ #{normalRechargeUserSucCount,jdbcType=INTEGER}, #{noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ #{vipRechargeOrdersCount,jdbcType=INTEGER}, #{vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ #{vipRechargeMoney,jdbcType=DECIMAL}, #{vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ #{vipRechargeGuideOrders,jdbcType=INTEGER}, #{vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ #{vipRechargeUserCount,jdbcType=INTEGER}, #{vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ #{kandianRechargeOrders,jdbcType=INTEGER}, #{kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ #{pv,jdbcType=INTEGER}, #{uv,jdbcType=INTEGER}, #{vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ #{createtime,jdbcType=INTEGER}, #{updatetime,jdbcType=INTEGER}, #{rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ #{rechargeUserSucCount,jdbcType=INTEGER}, #{splitMoney,jdbcType=DECIMAL})
|
|
|
+ on duplicate key update
|
|
|
+ id = #{id,jdbcType=INTEGER},
|
|
|
+ admin_id = #{adminId,jdbcType=INTEGER},
|
|
|
+ type = #{type,jdbcType=CHAR},
|
|
|
+ flag = #{flag,jdbcType=CHAR},
|
|
|
+ business_line = #{businessLine,jdbcType=CHAR},
|
|
|
+ createdate = #{createdate,jdbcType=CHAR},
|
|
|
+ recharge_money = #{rechargeMoney,jdbcType=DECIMAL},
|
|
|
+ recharge_money_benefit = #{rechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_orders_count = #{normalRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ normal_recharge_orders = #{normalRechargeOrders,jdbcType=INTEGER},
|
|
|
+ normal_recharge_money = #{normalRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_money_benefit = #{normalRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_guide_orders = #{normalRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ noraml_recharge_guide_money = #{noramlRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ normal_recharge_user_count = #{normalRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ normal_recharge_user_suc_count = #{normalRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ noraml_recharge_guide_money_benefit = #{noramlRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_orders_count = #{vipRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ vip_recharge_orders = #{vipRechargeOrders,jdbcType=INTEGER},
|
|
|
+ vip_recharge_money = #{vipRechargeMoney,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_money_benefit = #{vipRechargeMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_guide_orders = #{vipRechargeGuideOrders,jdbcType=INTEGER},
|
|
|
+ vip_recharge_guide_money = #{vipRechargeGuideMoney,jdbcType=DECIMAL},
|
|
|
+ vip_recharge_user_count = #{vipRechargeUserCount,jdbcType=INTEGER},
|
|
|
+ vip_recharge_user_suc_count = #{vipRechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ kandian_recharge_orders = #{kandianRechargeOrders,jdbcType=INTEGER},
|
|
|
+ kandian_recharge_orders_count = #{kandianRechargeOrdersCount,jdbcType=INTEGER},
|
|
|
+ pv = #{pv,jdbcType=INTEGER},
|
|
|
+ uv = #{uv,jdbcType=INTEGER},
|
|
|
+ vip_recharge_guide_money_benefit = #{vipRechargeGuideMoneyBenefit,jdbcType=DECIMAL},
|
|
|
+ createtime = #{createtime,jdbcType=INTEGER},
|
|
|
+ updatetime = #{updatetime,jdbcType=INTEGER},
|
|
|
+ recharge_user_count = #{rechargeUserCount,jdbcType=INTEGER},
|
|
|
+ recharge_user_suc_count = #{rechargeUserSucCount,jdbcType=INTEGER},
|
|
|
+ split_money = #{splitMoney,jdbcType=DECIMAL}
|
|
|
+ </insert>
|
|
|
+</mapper>
|