id, client_id, `year`, amount1, money1, times1, amount2, money2, times2, amount3,
money3, times3, amount4, money4, times4, amount5, money5, times5, amount6, money6,
times6, amount7, money7, times7, amount8, money8, times8, amount9, money9, times9,
amount10, money10, times10, amount11, money11, times11, amount12, money12, times12
${alias}.id, ${alias}.client_id, ${alias}.`year`,
${alias}.amount1, ${alias}.money1, ${alias}.times1, ${alias}.amount2, ${alias}.money2, ${alias}.times2,
${alias}.amount3, ${alias}.money3, ${alias}.times3, ${alias}.amount4, ${alias}.money4, ${alias}.times4,
${alias}.amount5, ${alias}.money5, ${alias}.times5, ${alias}.amount6, ${alias}.money6, ${alias}.times6,
${alias}.amount7, ${alias}.money7, ${alias}.times7, ${alias}.amount8, ${alias}.money8, ${alias}.times8,
${alias}.amount9, ${alias}.money9, ${alias}.times9, ${alias}.amount10, ${alias}.money10, ${alias}.times10,
${alias}.amount11, ${alias}.money11, ${alias}.times11, ${alias}.amount12, ${alias}.money12, ${alias}.times12
delete from st_client_amount_month
where id = #{id,jdbcType=BIGINT}
insert into st_client_amount_month (id, client_id, `year`,
amount1, money1, times1,
amount2, money2, times2,
amount3, money3, times3,
amount4, money4, times4,
amount5, money5, times5,
amount6, money6, times6,
amount7, money7, times7,
amount8, money8, times8,
amount9, money9, times9,
amount10, money10, times10,
amount11, money11, times11,
amount12, money12, times12
)
values (#{id,jdbcType=BIGINT}, #{clientId,jdbcType=BIGINT}, #{year,jdbcType=INTEGER},
#{amount1,jdbcType=FLOAT}, #{money1,jdbcType=FLOAT}, #{times1,jdbcType=INTEGER},
#{amount2,jdbcType=FLOAT}, #{money2,jdbcType=FLOAT}, #{times2,jdbcType=INTEGER},
#{amount3,jdbcType=FLOAT}, #{money3,jdbcType=FLOAT}, #{times3,jdbcType=INTEGER},
#{amount4,jdbcType=FLOAT}, #{money4,jdbcType=FLOAT}, #{times4,jdbcType=INTEGER},
#{amount5,jdbcType=FLOAT}, #{money5,jdbcType=FLOAT}, #{times5,jdbcType=INTEGER},
#{amount6,jdbcType=FLOAT}, #{money6,jdbcType=FLOAT}, #{times6,jdbcType=INTEGER},
#{amount7,jdbcType=FLOAT}, #{money7,jdbcType=FLOAT}, #{times7,jdbcType=INTEGER},
#{amount8,jdbcType=FLOAT}, #{money8,jdbcType=FLOAT}, #{times8,jdbcType=INTEGER},
#{amount9,jdbcType=FLOAT}, #{money9,jdbcType=FLOAT}, #{times9,jdbcType=INTEGER},
#{amount10,jdbcType=FLOAT}, #{money10,jdbcType=FLOAT}, #{times10,jdbcType=INTEGER},
#{amount11,jdbcType=FLOAT}, #{money11,jdbcType=FLOAT}, #{times11,jdbcType=INTEGER},
#{amount12,jdbcType=FLOAT}, #{money12,jdbcType=FLOAT}, #{times12,jdbcType=INTEGER}
)
insert into st_client_amount_month
id,
client_id,
`year`,
amount1,
money1,
times1,
amount2,
money2,
times2,
amount3,
money3,
times3,
amount4,
money4,
times4,
amount5,
money5,
times5,
amount6,
money6,
times6,
amount7,
money7,
times7,
amount8,
money8,
times8,
amount9,
money9,
times9,
amount10,
money10,
times10,
amount11,
money11,
times11,
amount12,
money12,
times12,
#{id,jdbcType=BIGINT},
#{clientId,jdbcType=BIGINT},
#{year,jdbcType=INTEGER},
#{amount1,jdbcType=FLOAT},
#{money1,jdbcType=FLOAT},
#{times1,jdbcType=INTEGER},
#{amount2,jdbcType=FLOAT},
#{money2,jdbcType=FLOAT},
#{times2,jdbcType=INTEGER},
#{amount3,jdbcType=FLOAT},
#{money3,jdbcType=FLOAT},
#{times3,jdbcType=INTEGER},
#{amount4,jdbcType=FLOAT},
#{money4,jdbcType=FLOAT},
#{times4,jdbcType=INTEGER},
#{amount5,jdbcType=FLOAT},
#{money5,jdbcType=FLOAT},
#{times5,jdbcType=INTEGER},
#{amount6,jdbcType=FLOAT},
#{money6,jdbcType=FLOAT},
#{times6,jdbcType=INTEGER},
#{amount7,jdbcType=FLOAT},
#{money7,jdbcType=FLOAT},
#{times7,jdbcType=INTEGER},
#{amount8,jdbcType=FLOAT},
#{money8,jdbcType=FLOAT},
#{times8,jdbcType=INTEGER},
#{amount9,jdbcType=FLOAT},
#{money9,jdbcType=FLOAT},
#{times9,jdbcType=INTEGER},
#{amount10,jdbcType=FLOAT},
#{money10,jdbcType=FLOAT},
#{times10,jdbcType=INTEGER},
#{amount11,jdbcType=FLOAT},
#{money11,jdbcType=FLOAT},
#{times11,jdbcType=INTEGER},
#{amount12,jdbcType=FLOAT},
#{money12,jdbcType=FLOAT},
#{times12,jdbcType=INTEGER},
update st_client_amount_month
client_id = #{clientId,jdbcType=BIGINT},
`year` = #{year,jdbcType=INTEGER},
amount1 = #{amount1,jdbcType=FLOAT},
money1 = #{money1,jdbcType=FLOAT},
times1 = #{times1,jdbcType=INTEGER},
amount2 = #{amount2,jdbcType=FLOAT},
money2 = #{money2,jdbcType=FLOAT},
times2 = #{times2,jdbcType=INTEGER},
amount3 = #{amount3,jdbcType=FLOAT},
money3 = #{money3,jdbcType=FLOAT},
times3 = #{times3,jdbcType=INTEGER},
amount4 = #{amount4,jdbcType=FLOAT},
money4 = #{money4,jdbcType=FLOAT},
times4 = #{times4,jdbcType=INTEGER},
amount5 = #{amount5,jdbcType=FLOAT},
money5 = #{money5,jdbcType=FLOAT},
times5 = #{times5,jdbcType=INTEGER},
amount6 = #{amount6,jdbcType=FLOAT},
money6 = #{money6,jdbcType=FLOAT},
times6 = #{times6,jdbcType=INTEGER},
amount7 = #{amount7,jdbcType=FLOAT},
money7 = #{money7,jdbcType=FLOAT},
times7 = #{times7,jdbcType=INTEGER},
amount8 = #{amount8,jdbcType=FLOAT},
money8 = #{money8,jdbcType=FLOAT},
times8 = #{times8,jdbcType=INTEGER},
amount9 = #{amount9,jdbcType=FLOAT},
money9 = #{money9,jdbcType=FLOAT},
times9 = #{times9,jdbcType=INTEGER},
amount10 = #{amount10,jdbcType=FLOAT},
money10 = #{money10,jdbcType=FLOAT},
times10 = #{times10,jdbcType=INTEGER},
amount11 = #{amount11,jdbcType=FLOAT},
money11 = #{money11,jdbcType=FLOAT},
times11 = #{times11,jdbcType=INTEGER},
amount12 = #{amount12,jdbcType=FLOAT},
money12 = #{money12,jdbcType=FLOAT},
times12 = #{times12,jdbcType=INTEGER},
where id = #{id,jdbcType=BIGINT}
update st_client_amount_month
set client_id = #{clientId,jdbcType=BIGINT},
`year` = #{year,jdbcType=INTEGER},
amount1 = #{amount1,jdbcType=FLOAT},
money1 = #{money1,jdbcType=FLOAT},
times1 = #{times1,jdbcType=INTEGER},
amount2 = #{amount2,jdbcType=FLOAT},
money2 = #{money2,jdbcType=FLOAT},
times2 = #{times2,jdbcType=INTEGER},
amount3 = #{amount3,jdbcType=FLOAT},
money3 = #{money3,jdbcType=FLOAT},
times3 = #{times3,jdbcType=INTEGER},
amount4 = #{amount4,jdbcType=FLOAT},
money4 = #{money4,jdbcType=FLOAT},
times4 = #{times4,jdbcType=INTEGER},
amount5 = #{amount5,jdbcType=FLOAT},
money5 = #{money5,jdbcType=FLOAT},
times5 = #{times5,jdbcType=INTEGER},
amount6 = #{amount6,jdbcType=FLOAT},
money6 = #{money6,jdbcType=FLOAT},
times6 = #{times6,jdbcType=INTEGER},
amount7 = #{amount7,jdbcType=FLOAT},
money7 = #{money7,jdbcType=FLOAT},
times7 = #{times7,jdbcType=INTEGER},
amount8 = #{amount8,jdbcType=FLOAT},
money8 = #{money8,jdbcType=FLOAT},
times8 = #{times8,jdbcType=INTEGER},
amount9 = #{amount9,jdbcType=FLOAT},
money9 = #{money9,jdbcType=FLOAT},
times9 = #{times9,jdbcType=INTEGER},
amount10 = #{amount10,jdbcType=FLOAT},
money10 = #{money10,jdbcType=FLOAT},
times10 = #{times10,jdbcType=INTEGER},
amount11 = #{amount11,jdbcType=FLOAT},
money11 = #{money11,jdbcType=FLOAT},
times11 = #{times11,jdbcType=INTEGER},
amount12 = #{amount12,jdbcType=FLOAT},
money12 = #{money12,jdbcType=FLOAT},
times12 = #{times12,jdbcType=INTEGER}
where id = #{id,jdbcType=BIGINT}
delete from st_client_amount_month