and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
and ${criterion.condition}
and ${criterion.condition} #{criterion.value}
and ${criterion.condition} #{criterion.value} and #{criterion.secondValue}
and ${criterion.condition}
#{listItem}
id, static_date, new_user_count, new_follow_count, new_recharge_sum, all_spend, first_roi,
all_recharge, all_roi, insert_time, update_time
delete from sun_static_income
where id = #{id,jdbcType=INTEGER}
delete from sun_static_income
insert into sun_static_income (id, static_date, new_user_count,
new_follow_count, new_recharge_sum, all_spend,
first_roi, all_recharge, all_roi,
insert_time, update_time)
values (#{id,jdbcType=INTEGER}, #{staticDate,jdbcType=VARCHAR}, #{newUserCount,jdbcType=INTEGER},
#{newFollowCount,jdbcType=INTEGER}, #{newRechargeSum,jdbcType=VARCHAR}, #{allSpend,jdbcType=VARCHAR},
#{firstRoi,jdbcType=VARCHAR}, #{allRecharge,jdbcType=VARCHAR}, #{allRoi,jdbcType=VARCHAR},
#{insertTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
insert into sun_static_income
${column.escapedColumnName}
id,
static_date,
new_user_count,
new_follow_count,
new_recharge_sum,
all_spend,
first_roi,
all_recharge,
all_roi,
insert_time,
update_time,
values
#{record.${column.javaProperty},jdbcType=${column.jdbcType}}
#{record.id,jdbcType=INTEGER},
#{record.staticDate,jdbcType=VARCHAR},
#{record.newUserCount,jdbcType=INTEGER},
#{record.newFollowCount,jdbcType=INTEGER},
#{record.newRechargeSum,jdbcType=VARCHAR},
#{record.allSpend,jdbcType=VARCHAR},
#{record.firstRoi,jdbcType=VARCHAR},
#{record.allRecharge,jdbcType=VARCHAR},
#{record.allRoi,jdbcType=VARCHAR},
#{record.insertTime,jdbcType=TIMESTAMP},
#{record.updateTime,jdbcType=TIMESTAMP},
update sun_static_income
SET
${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
id = #{record.id,jdbcType=INTEGER},
static_date = #{record.staticDate,jdbcType=VARCHAR},
new_user_count = #{record.newUserCount,jdbcType=INTEGER},
new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
new_recharge_sum = #{record.newRechargeSum,jdbcType=VARCHAR},
all_spend = #{record.allSpend,jdbcType=VARCHAR},
first_roi = #{record.firstRoi,jdbcType=VARCHAR},
all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
all_roi = #{record.allRoi,jdbcType=VARCHAR},
insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
update sun_static_income
set id = #{record.id,jdbcType=INTEGER},
static_date = #{record.staticDate,jdbcType=VARCHAR},
new_user_count = #{record.newUserCount,jdbcType=INTEGER},
new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
new_recharge_sum = #{record.newRechargeSum,jdbcType=VARCHAR},
all_spend = #{record.allSpend,jdbcType=VARCHAR},
first_roi = #{record.firstRoi,jdbcType=VARCHAR},
all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
all_roi = #{record.allRoi,jdbcType=VARCHAR},
insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP}
update sun_static_income
SET
${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
static_date = #{record.staticDate,jdbcType=VARCHAR},
new_user_count = #{record.newUserCount,jdbcType=INTEGER},
new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
new_recharge_sum = #{record.newRechargeSum,jdbcType=VARCHAR},
all_spend = #{record.allSpend,jdbcType=VARCHAR},
first_roi = #{record.firstRoi,jdbcType=VARCHAR},
all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
all_roi = #{record.allRoi,jdbcType=VARCHAR},
insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
where id = #{record.id,jdbcType=INTEGER}
update sun_static_income
set static_date = #{staticDate,jdbcType=VARCHAR},
new_user_count = #{newUserCount,jdbcType=INTEGER},
new_follow_count = #{newFollowCount,jdbcType=INTEGER},
new_recharge_sum = #{newRechargeSum,jdbcType=VARCHAR},
all_spend = #{allSpend,jdbcType=VARCHAR},
first_roi = #{firstRoi,jdbcType=VARCHAR},
all_recharge = #{allRecharge,jdbcType=VARCHAR},
all_roi = #{allRoi,jdbcType=VARCHAR},
insert_time = #{insertTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}
where id = #{id,jdbcType=INTEGER}
insert into sun_static_income
(id, static_date, new_user_count, new_follow_count, new_recharge_sum, all_spend,
first_roi, all_recharge, all_roi, insert_time, update_time)
values
(#{item.id,jdbcType=INTEGER}, #{item.staticDate,jdbcType=VARCHAR}, #{item.newUserCount,jdbcType=INTEGER},
#{item.newFollowCount,jdbcType=INTEGER}, #{item.newRechargeSum,jdbcType=VARCHAR},
#{item.allSpend,jdbcType=VARCHAR}, #{item.firstRoi,jdbcType=VARCHAR}, #{item.allRecharge,jdbcType=VARCHAR},
#{item.allRoi,jdbcType=VARCHAR}, #{item.insertTime,jdbcType=TIMESTAMP}, #{item.updateTime,jdbcType=TIMESTAMP}
)
insert into sun_static_income (
${column.escapedColumnName}
)
values
(
#{item.id,jdbcType=INTEGER}
#{item.staticDate,jdbcType=VARCHAR}
#{item.newUserCount,jdbcType=INTEGER}
#{item.newFollowCount,jdbcType=INTEGER}
#{item.newRechargeSum,jdbcType=VARCHAR}
#{item.allSpend,jdbcType=VARCHAR}
#{item.firstRoi,jdbcType=VARCHAR}
#{item.allRecharge,jdbcType=VARCHAR}
#{item.allRoi,jdbcType=VARCHAR}
#{item.insertTime,jdbcType=TIMESTAMP}
#{item.updateTime,jdbcType=TIMESTAMP}
)
insert into sun_static_income
${column.escapedColumnName}
id,
static_date,
new_user_count,
new_follow_count,
new_recharge_sum,
all_spend,
first_roi,
all_recharge,
all_roi,
insert_time,
update_time,
values
#{record.${column.javaProperty},jdbcType=${column.jdbcType}}
#{record.id,jdbcType=INTEGER},
#{record.staticDate,jdbcType=VARCHAR},
#{record.newUserCount,jdbcType=INTEGER},
#{record.newFollowCount,jdbcType=INTEGER},
#{record.newRechargeSum,jdbcType=VARCHAR},
#{record.allSpend,jdbcType=VARCHAR},
#{record.firstRoi,jdbcType=VARCHAR},
#{record.allRecharge,jdbcType=VARCHAR},
#{record.allRoi,jdbcType=VARCHAR},
#{record.insertTime,jdbcType=TIMESTAMP},
#{record.updateTime,jdbcType=TIMESTAMP},
on duplicate key update
${column.escapedColumnName} = #{record.${column.javaProperty},jdbcType=${column.jdbcType}}
id = #{record.id,jdbcType=INTEGER},
static_date = #{record.staticDate,jdbcType=VARCHAR},
new_user_count = #{record.newUserCount,jdbcType=INTEGER},
new_follow_count = #{record.newFollowCount,jdbcType=INTEGER},
new_recharge_sum = #{record.newRechargeSum,jdbcType=VARCHAR},
all_spend = #{record.allSpend,jdbcType=VARCHAR},
first_roi = #{record.firstRoi,jdbcType=VARCHAR},
all_recharge = #{record.allRecharge,jdbcType=VARCHAR},
all_roi = #{record.allRoi,jdbcType=VARCHAR},
insert_time = #{record.insertTime,jdbcType=TIMESTAMP},
update_time = #{record.updateTime,jdbcType=TIMESTAMP},
insert into sun_static_income
(id, static_date, new_user_count, new_follow_count, new_recharge_sum, all_spend,
first_roi, all_recharge, all_roi, insert_time, update_time)
values
(#{id,jdbcType=INTEGER}, #{staticDate,jdbcType=VARCHAR}, #{newUserCount,jdbcType=INTEGER},
#{newFollowCount,jdbcType=INTEGER}, #{newRechargeSum,jdbcType=VARCHAR}, #{allSpend,jdbcType=VARCHAR},
#{firstRoi,jdbcType=VARCHAR}, #{allRecharge,jdbcType=VARCHAR}, #{allRoi,jdbcType=VARCHAR},
#{insertTime,jdbcType=TIMESTAMP}, #{updateTime,jdbcType=TIMESTAMP})
on duplicate key update
id = #{id,jdbcType=INTEGER},
static_date = #{staticDate,jdbcType=VARCHAR},
new_user_count = #{newUserCount,jdbcType=INTEGER},
new_follow_count = #{newFollowCount,jdbcType=INTEGER},
new_recharge_sum = #{newRechargeSum,jdbcType=VARCHAR},
all_spend = #{allSpend,jdbcType=VARCHAR},
first_roi = #{firstRoi,jdbcType=VARCHAR},
all_recharge = #{allRecharge,jdbcType=VARCHAR},
all_roi = #{allRoi,jdbcType=VARCHAR},
insert_time = #{insertTime,jdbcType=TIMESTAMP},
update_time = #{updateTime,jdbcType=TIMESTAMP}