id, client_id, `year`, amount1, times1, amount2, times2, amount3, times3, amount4,
times4, amount5, times5, amount6, times6, amount7, times7, amount8, times8, amount9,
times9, amount10, times10, amount11, times11, amount12, times12
delete from st_consume_client_month
where id = #{id,jdbcType=BIGINT}
insert into st_consume_client_month (id, client_id, `year`,
amount1, times1, amount2,
times2, amount3, times3,
amount4, times4, amount5,
times5, amount6, times6,
amount7, times7, amount8,
times8, amount9, times9,
amount10, times10, amount11,
times11, amount12, times12
)
values (#{id,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, #{year,jdbcType=INTEGER},
#{amount1,jdbcType=FLOAT}, #{times1,jdbcType=INTEGER}, #{amount2,jdbcType=FLOAT},
#{times2,jdbcType=INTEGER}, #{amount3,jdbcType=FLOAT}, #{times3,jdbcType=INTEGER},
#{amount4,jdbcType=FLOAT}, #{times4,jdbcType=INTEGER}, #{amount5,jdbcType=FLOAT},
#{times5,jdbcType=INTEGER}, #{amount6,jdbcType=FLOAT}, #{times6,jdbcType=INTEGER},
#{amount7,jdbcType=FLOAT}, #{times7,jdbcType=INTEGER}, #{amount8,jdbcType=FLOAT},
#{times8,jdbcType=INTEGER}, #{amount9,jdbcType=FLOAT}, #{times9,jdbcType=INTEGER},
#{amount10,jdbcType=FLOAT}, #{times10,jdbcType=INTEGER}, #{amount11,jdbcType=FLOAT},
#{times11,jdbcType=INTEGER}, #{amount12,jdbcType=FLOAT}, #{times12,jdbcType=INTEGER}
)
insert into st_consume_client_month
id,
client_id,
`year`,
amount1,
times1,
amount2,
times2,
amount3,
times3,
amount4,
times4,
amount5,
times5,
amount6,
times6,
amount7,
times7,
amount8,
times8,
amount9,
times9,
amount10,
times10,
amount11,
times11,
amount12,
times12,
#{id,jdbcType=BIGINT},
#{clientId,jdbcType=BIGINT},
#{year,jdbcType=INTEGER},
#{amount1,jdbcType=FLOAT},
#{times1,jdbcType=INTEGER},
#{amount2,jdbcType=FLOAT},
#{times2,jdbcType=INTEGER},
#{amount3,jdbcType=FLOAT},
#{times3,jdbcType=INTEGER},
#{amount4,jdbcType=FLOAT},
#{times4,jdbcType=INTEGER},
#{amount5,jdbcType=FLOAT},
#{times5,jdbcType=INTEGER},
#{amount6,jdbcType=FLOAT},
#{times6,jdbcType=INTEGER},
#{amount7,jdbcType=FLOAT},
#{times7,jdbcType=INTEGER},
#{amount8,jdbcType=FLOAT},
#{times8,jdbcType=INTEGER},
#{amount9,jdbcType=FLOAT},
#{times9,jdbcType=INTEGER},
#{amount10,jdbcType=FLOAT},
#{times10,jdbcType=INTEGER},
#{amount11,jdbcType=FLOAT},
#{times11,jdbcType=INTEGER},
#{amount12,jdbcType=FLOAT},
#{times12,jdbcType=INTEGER},
update st_consume_client_month
client_id = #{clientId,jdbcType=BIGINT},
`year` = #{year,jdbcType=INTEGER},
amount1 = #{amount1,jdbcType=FLOAT},
times1 = #{times1,jdbcType=INTEGER},
amount2 = #{amount2,jdbcType=FLOAT},
times2 = #{times2,jdbcType=INTEGER},
amount3 = #{amount3,jdbcType=FLOAT},
times3 = #{times3,jdbcType=INTEGER},
amount4 = #{amount4,jdbcType=FLOAT},
times4 = #{times4,jdbcType=INTEGER},
amount5 = #{amount5,jdbcType=FLOAT},
times5 = #{times5,jdbcType=INTEGER},
amount6 = #{amount6,jdbcType=FLOAT},
times6 = #{times6,jdbcType=INTEGER},
amount7 = #{amount7,jdbcType=FLOAT},
times7 = #{times7,jdbcType=INTEGER},
amount8 = #{amount8,jdbcType=FLOAT},
times8 = #{times8,jdbcType=INTEGER},
amount9 = #{amount9,jdbcType=FLOAT},
times9 = #{times9,jdbcType=INTEGER},
amount10 = #{amount10,jdbcType=FLOAT},
times10 = #{times10,jdbcType=INTEGER},
amount11 = #{amount11,jdbcType=FLOAT},
times11 = #{times11,jdbcType=INTEGER},
amount12 = #{amount12,jdbcType=FLOAT},
times12 = #{times12,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update st_consume_client_month
set client_id = #{clientId,jdbcType=BIGINT},
`year` = #{year,jdbcType=INTEGER},
amount1 = #{amount1,jdbcType=FLOAT},
times1 = #{times1,jdbcType=INTEGER},
amount2 = #{amount2,jdbcType=FLOAT},
times2 = #{times2,jdbcType=INTEGER},
amount3 = #{amount3,jdbcType=FLOAT},
times3 = #{times3,jdbcType=INTEGER},
amount4 = #{amount4,jdbcType=FLOAT},
times4 = #{times4,jdbcType=INTEGER},
amount5 = #{amount5,jdbcType=FLOAT},
times5 = #{times5,jdbcType=INTEGER},
amount6 = #{amount6,jdbcType=FLOAT},
times6 = #{times6,jdbcType=INTEGER},
amount7 = #{amount7,jdbcType=FLOAT},
times7 = #{times7,jdbcType=INTEGER},
amount8 = #{amount8,jdbcType=FLOAT},
times8 = #{times8,jdbcType=INTEGER},
amount9 = #{amount9,jdbcType=FLOAT},
times9 = #{times9,jdbcType=INTEGER},
amount10 = #{amount10,jdbcType=FLOAT},
times10 = #{times10,jdbcType=INTEGER},
amount11 = #{amount11,jdbcType=FLOAT},
times11 = #{times11,jdbcType=INTEGER},
amount12 = #{amount12,jdbcType=FLOAT},
times12 = #{times12,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}