id, created_at, updated_at
sale_receipt, triplicate_receipt, screen_config, tag_config, scale_config
delete from tb_shop_cash_spread
where id = #{id,jdbcType=INTEGER}
insert into tb_shop_cash_spread (id, created_at, updated_at,
sale_receipt, triplicate_receipt,
screen_config, tag_config, scale_config
)
values (#{id,jdbcType=INTEGER}, #{createdAt,jdbcType=BIGINT}, #{updatedAt,jdbcType=BIGINT},
#{saleReceipt,jdbcType=LONGVARCHAR}, #{triplicateReceipt,jdbcType=LONGVARCHAR},
#{screenConfig,jdbcType=LONGVARCHAR}, #{tagConfig,jdbcType=LONGVARCHAR}, #{scaleConfig,jdbcType=LONGVARCHAR}
)
insert into tb_shop_cash_spread
id,
created_at,
updated_at,
sale_receipt,
triplicate_receipt,
screen_config,
tag_config,
scale_config,
#{id,jdbcType=INTEGER},
#{createdAt,jdbcType=BIGINT},
#{updatedAt,jdbcType=BIGINT},
#{saleReceipt,jdbcType=LONGVARCHAR},
#{triplicateReceipt,jdbcType=LONGVARCHAR},
#{screenConfig,jdbcType=LONGVARCHAR},
#{tagConfig,jdbcType=LONGVARCHAR},
#{scaleConfig,jdbcType=LONGVARCHAR},
update tb_shop_cash_spread
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
sale_receipt = #{saleReceipt,jdbcType=LONGVARCHAR},
triplicate_receipt = #{triplicateReceipt,jdbcType=LONGVARCHAR},
screen_config = #{screenConfig,jdbcType=LONGVARCHAR},
tag_config = #{tagConfig,jdbcType=LONGVARCHAR},
scale_config = #{scaleConfig,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=INTEGER}
update tb_shop_cash_spread
set created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
sale_receipt = #{saleReceipt,jdbcType=LONGVARCHAR},
triplicate_receipt = #{triplicateReceipt,jdbcType=LONGVARCHAR},
screen_config = #{screenConfig,jdbcType=LONGVARCHAR},
tag_config = #{tagConfig,jdbcType=LONGVARCHAR},
scale_config = #{scaleConfig,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
update tb_shop_cash_spread
set created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT}
where id = #{id,jdbcType=INTEGER}