id, client_id, `year`, `month`, amount1, gift1, times1, amount2, gift2, times2, amount3,
gift3, times3, amount4, gift4, times4, amount5, gift5, times5, amount6, gift6, times6,
amount7, gift7, times7, amount8, gift8, times8, amount9, gift9, times9, amount10,
gift10, times10, amount11, gift11, times11, amount12, gift12, times12, amount13,
gift13, times13, amount14, gift14, times14, amount15, gift15, times15, amount16,
gift16, times16, amount17, gift17, times17, amount18, gift18, times18, amount19,
gift19, times19, amount20, gift20, times20, amount21, gift21, times21, amount22,
gift22, times22, amount23, gift23, times23, amount24, gift24, times24, amount25,
gift25, times25, amount26, gift26, times26, amount27, gift27, times27, amount28,
gift28, times28, amount29, gift29, times29, amount30, gift30, times30, amount31,
gift31, times31
delete from st_recharge_client_day
where id = #{id,jdbcType=BIGINT}
insert into st_recharge_client_day (id, client_id, `year`,
`month`, amount1, gift1,
times1, amount2, gift2,
times2, amount3, gift3,
times3, amount4, gift4,
times4, amount5, gift5,
times5, amount6, gift6,
times6, amount7, gift7,
times7, amount8, gift8,
times8, amount9, gift9,
times9, amount10, gift10,
times10, amount11, gift11,
times11, amount12, gift12,
times12, amount13, gift13,
times13, amount14, gift14,
times14, amount15, gift15,
times15, amount16, gift16,
times16, amount17, gift17,
times17, amount18, gift18,
times18, amount19, gift19,
times19, amount20, gift20,
times20, amount21, gift21,
times21, amount22, gift22,
times22, amount23, gift23,
times23, amount24, gift24,
times24, amount25, gift25,
times25, amount26, gift26,
times26, amount27, gift27,
times27, amount28, gift28,
times28, amount29, gift29,
times29, amount30, gift30,
times30, amount31, gift31,
times31)
values (#{id,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, #{year,jdbcType=INTEGER},
#{month,jdbcType=INTEGER}, #{amount1,jdbcType=FLOAT}, #{gift1,jdbcType=FLOAT},
#{times1,jdbcType=INTEGER}, #{amount2,jdbcType=FLOAT}, #{gift2,jdbcType=FLOAT},
#{times2,jdbcType=INTEGER}, #{amount3,jdbcType=FLOAT}, #{gift3,jdbcType=FLOAT},
#{times3,jdbcType=INTEGER}, #{amount4,jdbcType=FLOAT}, #{gift4,jdbcType=FLOAT},
#{times4,jdbcType=INTEGER}, #{amount5,jdbcType=FLOAT}, #{gift5,jdbcType=FLOAT},
#{times5,jdbcType=INTEGER}, #{amount6,jdbcType=FLOAT}, #{gift6,jdbcType=FLOAT},
#{times6,jdbcType=INTEGER}, #{amount7,jdbcType=FLOAT}, #{gift7,jdbcType=FLOAT},
#{times7,jdbcType=INTEGER}, #{amount8,jdbcType=FLOAT}, #{gift8,jdbcType=FLOAT},
#{times8,jdbcType=INTEGER}, #{amount9,jdbcType=FLOAT}, #{gift9,jdbcType=FLOAT},
#{times9,jdbcType=INTEGER}, #{amount10,jdbcType=FLOAT}, #{gift10,jdbcType=FLOAT},
#{times10,jdbcType=INTEGER}, #{amount11,jdbcType=FLOAT}, #{gift11,jdbcType=FLOAT},
#{times11,jdbcType=INTEGER}, #{amount12,jdbcType=FLOAT}, #{gift12,jdbcType=FLOAT},
#{times12,jdbcType=INTEGER}, #{amount13,jdbcType=FLOAT}, #{gift13,jdbcType=FLOAT},
#{times13,jdbcType=INTEGER}, #{amount14,jdbcType=FLOAT}, #{gift14,jdbcType=FLOAT},
#{times14,jdbcType=INTEGER}, #{amount15,jdbcType=FLOAT}, #{gift15,jdbcType=FLOAT},
#{times15,jdbcType=INTEGER}, #{amount16,jdbcType=FLOAT}, #{gift16,jdbcType=FLOAT},
#{times16,jdbcType=INTEGER}, #{amount17,jdbcType=FLOAT}, #{gift17,jdbcType=FLOAT},
#{times17,jdbcType=INTEGER}, #{amount18,jdbcType=FLOAT}, #{gift18,jdbcType=FLOAT},
#{times18,jdbcType=INTEGER}, #{amount19,jdbcType=FLOAT}, #{gift19,jdbcType=FLOAT},
#{times19,jdbcType=INTEGER}, #{amount20,jdbcType=FLOAT}, #{gift20,jdbcType=FLOAT},
#{times20,jdbcType=INTEGER}, #{amount21,jdbcType=FLOAT}, #{gift21,jdbcType=FLOAT},
#{times21,jdbcType=INTEGER}, #{amount22,jdbcType=FLOAT}, #{gift22,jdbcType=FLOAT},
#{times22,jdbcType=INTEGER}, #{amount23,jdbcType=FLOAT}, #{gift23,jdbcType=FLOAT},
#{times23,jdbcType=INTEGER}, #{amount24,jdbcType=FLOAT}, #{gift24,jdbcType=FLOAT},
#{times24,jdbcType=INTEGER}, #{amount25,jdbcType=FLOAT}, #{gift25,jdbcType=FLOAT},
#{times25,jdbcType=INTEGER}, #{amount26,jdbcType=FLOAT}, #{gift26,jdbcType=FLOAT},
#{times26,jdbcType=INTEGER}, #{amount27,jdbcType=FLOAT}, #{gift27,jdbcType=FLOAT},
#{times27,jdbcType=INTEGER}, #{amount28,jdbcType=FLOAT}, #{gift28,jdbcType=FLOAT},
#{times28,jdbcType=INTEGER}, #{amount29,jdbcType=FLOAT}, #{gift29,jdbcType=FLOAT},
#{times29,jdbcType=INTEGER}, #{amount30,jdbcType=FLOAT}, #{gift30,jdbcType=FLOAT},
#{times30,jdbcType=INTEGER}, #{amount31,jdbcType=FLOAT}, #{gift31,jdbcType=FLOAT},
#{times31,jdbcType=INTEGER})
insert into st_recharge_client_day
id,
client_id,
`year`,
`month`,
amount1,
gift1,
times1,
amount2,
gift2,
times2,
amount3,
gift3,
times3,
amount4,
gift4,
times4,
amount5,
gift5,
times5,
amount6,
gift6,
times6,
amount7,
gift7,
times7,
amount8,
gift8,
times8,
amount9,
gift9,
times9,
amount10,
gift10,
times10,
amount11,
gift11,
times11,
amount12,
gift12,
times12,
amount13,
gift13,
times13,
amount14,
gift14,
times14,
amount15,
gift15,
times15,
amount16,
gift16,
times16,
amount17,
gift17,
times17,
amount18,
gift18,
times18,
amount19,
gift19,
times19,
amount20,
gift20,
times20,
amount21,
gift21,
times21,
amount22,
gift22,
times22,
amount23,
gift23,
times23,
amount24,
gift24,
times24,
amount25,
gift25,
times25,
amount26,
gift26,
times26,
amount27,
gift27,
times27,
amount28,
gift28,
times28,
amount29,
gift29,
times29,
amount30,
gift30,
times30,
amount31,
gift31,
times31,
#{id,jdbcType=BIGINT},
#{clientId,jdbcType=BIGINT},
#{year,jdbcType=INTEGER},
#{month,jdbcType=INTEGER},
#{amount1,jdbcType=FLOAT},
#{gift1,jdbcType=FLOAT},
#{times1,jdbcType=INTEGER},
#{amount2,jdbcType=FLOAT},
#{gift2,jdbcType=FLOAT},
#{times2,jdbcType=INTEGER},
#{amount3,jdbcType=FLOAT},
#{gift3,jdbcType=FLOAT},
#{times3,jdbcType=INTEGER},
#{amount4,jdbcType=FLOAT},
#{gift4,jdbcType=FLOAT},
#{times4,jdbcType=INTEGER},
#{amount5,jdbcType=FLOAT},
#{gift5,jdbcType=FLOAT},
#{times5,jdbcType=INTEGER},
#{amount6,jdbcType=FLOAT},
#{gift6,jdbcType=FLOAT},
#{times6,jdbcType=INTEGER},
#{amount7,jdbcType=FLOAT},
#{gift7,jdbcType=FLOAT},
#{times7,jdbcType=INTEGER},
#{amount8,jdbcType=FLOAT},
#{gift8,jdbcType=FLOAT},
#{times8,jdbcType=INTEGER},
#{amount9,jdbcType=FLOAT},
#{gift9,jdbcType=FLOAT},
#{times9,jdbcType=INTEGER},
#{amount10,jdbcType=FLOAT},
#{gift10,jdbcType=FLOAT},
#{times10,jdbcType=INTEGER},
#{amount11,jdbcType=FLOAT},
#{gift11,jdbcType=FLOAT},
#{times11,jdbcType=INTEGER},
#{amount12,jdbcType=FLOAT},
#{gift12,jdbcType=FLOAT},
#{times12,jdbcType=INTEGER},
#{amount13,jdbcType=FLOAT},
#{gift13,jdbcType=FLOAT},
#{times13,jdbcType=INTEGER},
#{amount14,jdbcType=FLOAT},
#{gift14,jdbcType=FLOAT},
#{times14,jdbcType=INTEGER},
#{amount15,jdbcType=FLOAT},
#{gift15,jdbcType=FLOAT},
#{times15,jdbcType=INTEGER},
#{amount16,jdbcType=FLOAT},
#{gift16,jdbcType=FLOAT},
#{times16,jdbcType=INTEGER},
#{amount17,jdbcType=FLOAT},
#{gift17,jdbcType=FLOAT},
#{times17,jdbcType=INTEGER},
#{amount18,jdbcType=FLOAT},
#{gift18,jdbcType=FLOAT},
#{times18,jdbcType=INTEGER},
#{amount19,jdbcType=FLOAT},
#{gift19,jdbcType=FLOAT},
#{times19,jdbcType=INTEGER},
#{amount20,jdbcType=FLOAT},
#{gift20,jdbcType=FLOAT},
#{times20,jdbcType=INTEGER},
#{amount21,jdbcType=FLOAT},
#{gift21,jdbcType=FLOAT},
#{times21,jdbcType=INTEGER},
#{amount22,jdbcType=FLOAT},
#{gift22,jdbcType=FLOAT},
#{times22,jdbcType=INTEGER},
#{amount23,jdbcType=FLOAT},
#{gift23,jdbcType=FLOAT},
#{times23,jdbcType=INTEGER},
#{amount24,jdbcType=FLOAT},
#{gift24,jdbcType=FLOAT},
#{times24,jdbcType=INTEGER},
#{amount25,jdbcType=FLOAT},
#{gift25,jdbcType=FLOAT},
#{times25,jdbcType=INTEGER},
#{amount26,jdbcType=FLOAT},
#{gift26,jdbcType=FLOAT},
#{times26,jdbcType=INTEGER},
#{amount27,jdbcType=FLOAT},
#{gift27,jdbcType=FLOAT},
#{times27,jdbcType=INTEGER},
#{amount28,jdbcType=FLOAT},
#{gift28,jdbcType=FLOAT},
#{times28,jdbcType=INTEGER},
#{amount29,jdbcType=FLOAT},
#{gift29,jdbcType=FLOAT},
#{times29,jdbcType=INTEGER},
#{amount30,jdbcType=FLOAT},
#{gift30,jdbcType=FLOAT},
#{times30,jdbcType=INTEGER},
#{amount31,jdbcType=FLOAT},
#{gift31,jdbcType=FLOAT},
#{times31,jdbcType=INTEGER},
update st_recharge_client_day
client_id = #{clientId,jdbcType=BIGINT},
`year` = #{year,jdbcType=INTEGER},
`month` = #{month,jdbcType=INTEGER},
amount1 = #{amount1,jdbcType=FLOAT},
gift1 = #{gift1,jdbcType=FLOAT},
times1 = #{times1,jdbcType=INTEGER},
amount2 = #{amount2,jdbcType=FLOAT},
gift2 = #{gift2,jdbcType=FLOAT},
times2 = #{times2,jdbcType=INTEGER},
amount3 = #{amount3,jdbcType=FLOAT},
gift3 = #{gift3,jdbcType=FLOAT},
times3 = #{times3,jdbcType=INTEGER},
amount4 = #{amount4,jdbcType=FLOAT},
gift4 = #{gift4,jdbcType=FLOAT},
times4 = #{times4,jdbcType=INTEGER},
amount5 = #{amount5,jdbcType=FLOAT},
gift5 = #{gift5,jdbcType=FLOAT},
times5 = #{times5,jdbcType=INTEGER},
amount6 = #{amount6,jdbcType=FLOAT},
gift6 = #{gift6,jdbcType=FLOAT},
times6 = #{times6,jdbcType=INTEGER},
amount7 = #{amount7,jdbcType=FLOAT},
gift7 = #{gift7,jdbcType=FLOAT},
times7 = #{times7,jdbcType=INTEGER},
amount8 = #{amount8,jdbcType=FLOAT},
gift8 = #{gift8,jdbcType=FLOAT},
times8 = #{times8,jdbcType=INTEGER},
amount9 = #{amount9,jdbcType=FLOAT},
gift9 = #{gift9,jdbcType=FLOAT},
times9 = #{times9,jdbcType=INTEGER},
amount10 = #{amount10,jdbcType=FLOAT},
gift10 = #{gift10,jdbcType=FLOAT},
times10 = #{times10,jdbcType=INTEGER},
amount11 = #{amount11,jdbcType=FLOAT},
gift11 = #{gift11,jdbcType=FLOAT},
times11 = #{times11,jdbcType=INTEGER},
amount12 = #{amount12,jdbcType=FLOAT},
gift12 = #{gift12,jdbcType=FLOAT},
times12 = #{times12,jdbcType=INTEGER},
amount13 = #{amount13,jdbcType=FLOAT},
gift13 = #{gift13,jdbcType=FLOAT},
times13 = #{times13,jdbcType=INTEGER},
amount14 = #{amount14,jdbcType=FLOAT},
gift14 = #{gift14,jdbcType=FLOAT},
times14 = #{times14,jdbcType=INTEGER},
amount15 = #{amount15,jdbcType=FLOAT},
gift15 = #{gift15,jdbcType=FLOAT},
times15 = #{times15,jdbcType=INTEGER},
amount16 = #{amount16,jdbcType=FLOAT},
gift16 = #{gift16,jdbcType=FLOAT},
times16 = #{times16,jdbcType=INTEGER},
amount17 = #{amount17,jdbcType=FLOAT},
gift17 = #{gift17,jdbcType=FLOAT},
times17 = #{times17,jdbcType=INTEGER},
amount18 = #{amount18,jdbcType=FLOAT},
gift18 = #{gift18,jdbcType=FLOAT},
times18 = #{times18,jdbcType=INTEGER},
amount19 = #{amount19,jdbcType=FLOAT},
gift19 = #{gift19,jdbcType=FLOAT},
times19 = #{times19,jdbcType=INTEGER},
amount20 = #{amount20,jdbcType=FLOAT},
gift20 = #{gift20,jdbcType=FLOAT},
times20 = #{times20,jdbcType=INTEGER},
amount21 = #{amount21,jdbcType=FLOAT},
gift21 = #{gift21,jdbcType=FLOAT},
times21 = #{times21,jdbcType=INTEGER},
amount22 = #{amount22,jdbcType=FLOAT},
gift22 = #{gift22,jdbcType=FLOAT},
times22 = #{times22,jdbcType=INTEGER},
amount23 = #{amount23,jdbcType=FLOAT},
gift23 = #{gift23,jdbcType=FLOAT},
times23 = #{times23,jdbcType=INTEGER},
amount24 = #{amount24,jdbcType=FLOAT},
gift24 = #{gift24,jdbcType=FLOAT},
times24 = #{times24,jdbcType=INTEGER},
amount25 = #{amount25,jdbcType=FLOAT},
gift25 = #{gift25,jdbcType=FLOAT},
times25 = #{times25,jdbcType=INTEGER},
amount26 = #{amount26,jdbcType=FLOAT},
gift26 = #{gift26,jdbcType=FLOAT},
times26 = #{times26,jdbcType=INTEGER},
amount27 = #{amount27,jdbcType=FLOAT},
gift27 = #{gift27,jdbcType=FLOAT},
times27 = #{times27,jdbcType=INTEGER},
amount28 = #{amount28,jdbcType=FLOAT},
gift28 = #{gift28,jdbcType=FLOAT},
times28 = #{times28,jdbcType=INTEGER},
amount29 = #{amount29,jdbcType=FLOAT},
gift29 = #{gift29,jdbcType=FLOAT},
times29 = #{times29,jdbcType=INTEGER},
amount30 = #{amount30,jdbcType=FLOAT},
gift30 = #{gift30,jdbcType=FLOAT},
times30 = #{times30,jdbcType=INTEGER},
amount31 = #{amount31,jdbcType=FLOAT},
gift31 = #{gift31,jdbcType=FLOAT},
times31 = #{times31,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update st_recharge_client_day
set client_id = #{clientId,jdbcType=BIGINT},
`year` = #{year,jdbcType=INTEGER},
`month` = #{month,jdbcType=INTEGER},
amount1 = #{amount1,jdbcType=FLOAT},
gift1 = #{gift1,jdbcType=FLOAT},
times1 = #{times1,jdbcType=INTEGER},
amount2 = #{amount2,jdbcType=FLOAT},
gift2 = #{gift2,jdbcType=FLOAT},
times2 = #{times2,jdbcType=INTEGER},
amount3 = #{amount3,jdbcType=FLOAT},
gift3 = #{gift3,jdbcType=FLOAT},
times3 = #{times3,jdbcType=INTEGER},
amount4 = #{amount4,jdbcType=FLOAT},
gift4 = #{gift4,jdbcType=FLOAT},
times4 = #{times4,jdbcType=INTEGER},
amount5 = #{amount5,jdbcType=FLOAT},
gift5 = #{gift5,jdbcType=FLOAT},
times5 = #{times5,jdbcType=INTEGER},
amount6 = #{amount6,jdbcType=FLOAT},
gift6 = #{gift6,jdbcType=FLOAT},
times6 = #{times6,jdbcType=INTEGER},
amount7 = #{amount7,jdbcType=FLOAT},
gift7 = #{gift7,jdbcType=FLOAT},
times7 = #{times7,jdbcType=INTEGER},
amount8 = #{amount8,jdbcType=FLOAT},
gift8 = #{gift8,jdbcType=FLOAT},
times8 = #{times8,jdbcType=INTEGER},
amount9 = #{amount9,jdbcType=FLOAT},
gift9 = #{gift9,jdbcType=FLOAT},
times9 = #{times9,jdbcType=INTEGER},
amount10 = #{amount10,jdbcType=FLOAT},
gift10 = #{gift10,jdbcType=FLOAT},
times10 = #{times10,jdbcType=INTEGER},
amount11 = #{amount11,jdbcType=FLOAT},
gift11 = #{gift11,jdbcType=FLOAT},
times11 = #{times11,jdbcType=INTEGER},
amount12 = #{amount12,jdbcType=FLOAT},
gift12 = #{gift12,jdbcType=FLOAT},
times12 = #{times12,jdbcType=INTEGER},
amount13 = #{amount13,jdbcType=FLOAT},
gift13 = #{gift13,jdbcType=FLOAT},
times13 = #{times13,jdbcType=INTEGER},
amount14 = #{amount14,jdbcType=FLOAT},
gift14 = #{gift14,jdbcType=FLOAT},
times14 = #{times14,jdbcType=INTEGER},
amount15 = #{amount15,jdbcType=FLOAT},
gift15 = #{gift15,jdbcType=FLOAT},
times15 = #{times15,jdbcType=INTEGER},
amount16 = #{amount16,jdbcType=FLOAT},
gift16 = #{gift16,jdbcType=FLOAT},
times16 = #{times16,jdbcType=INTEGER},
amount17 = #{amount17,jdbcType=FLOAT},
gift17 = #{gift17,jdbcType=FLOAT},
times17 = #{times17,jdbcType=INTEGER},
amount18 = #{amount18,jdbcType=FLOAT},
gift18 = #{gift18,jdbcType=FLOAT},
times18 = #{times18,jdbcType=INTEGER},
amount19 = #{amount19,jdbcType=FLOAT},
gift19 = #{gift19,jdbcType=FLOAT},
times19 = #{times19,jdbcType=INTEGER},
amount20 = #{amount20,jdbcType=FLOAT},
gift20 = #{gift20,jdbcType=FLOAT},
times20 = #{times20,jdbcType=INTEGER},
amount21 = #{amount21,jdbcType=FLOAT},
gift21 = #{gift21,jdbcType=FLOAT},
times21 = #{times21,jdbcType=INTEGER},
amount22 = #{amount22,jdbcType=FLOAT},
gift22 = #{gift22,jdbcType=FLOAT},
times22 = #{times22,jdbcType=INTEGER},
amount23 = #{amount23,jdbcType=FLOAT},
gift23 = #{gift23,jdbcType=FLOAT},
times23 = #{times23,jdbcType=INTEGER},
amount24 = #{amount24,jdbcType=FLOAT},
gift24 = #{gift24,jdbcType=FLOAT},
times24 = #{times24,jdbcType=INTEGER},
amount25 = #{amount25,jdbcType=FLOAT},
gift25 = #{gift25,jdbcType=FLOAT},
times25 = #{times25,jdbcType=INTEGER},
amount26 = #{amount26,jdbcType=FLOAT},
gift26 = #{gift26,jdbcType=FLOAT},
times26 = #{times26,jdbcType=INTEGER},
amount27 = #{amount27,jdbcType=FLOAT},
gift27 = #{gift27,jdbcType=FLOAT},
times27 = #{times27,jdbcType=INTEGER},
amount28 = #{amount28,jdbcType=FLOAT},
gift28 = #{gift28,jdbcType=FLOAT},
times28 = #{times28,jdbcType=INTEGER},
amount29 = #{amount29,jdbcType=FLOAT},
gift29 = #{gift29,jdbcType=FLOAT},
times29 = #{times29,jdbcType=INTEGER},
amount30 = #{amount30,jdbcType=FLOAT},
gift30 = #{gift30,jdbcType=FLOAT},
times30 = #{times30,jdbcType=INTEGER},
amount31 = #{amount31,jdbcType=FLOAT},
gift31 = #{gift31,jdbcType=FLOAT},
times31 = #{times31,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}