id, shop_id, prepare_amount, currency, decimals_digits, discount_round, merchant_id,
small_change, enable_custom_discount, max_discount, max_percent, biz_duration, allow_web_pay,
is_auto_to_zero, is_include_tax_price, tax_number, created_at, updated_at, auto_lock_screen,
voice_notification
discount_configs, service_charge
delete from tb_shop_currency
where id = #{id,jdbcType=INTEGER}
insert into tb_shop_currency (id, shop_id, prepare_amount,
currency, decimals_digits, discount_round,
merchant_id, small_change, enable_custom_discount,
max_discount, max_percent, biz_duration,
allow_web_pay, is_auto_to_zero, is_include_tax_price,
tax_number, created_at, updated_at,
auto_lock_screen, voice_notification, discount_configs,
service_charge)
values (#{id,jdbcType=INTEGER}, #{shopId,jdbcType=VARCHAR}, #{prepareAmount,jdbcType=DECIMAL},
#{currency,jdbcType=VARCHAR}, #{decimalsDigits,jdbcType=TINYINT}, #{discountRound,jdbcType=VARCHAR},
#{merchantId,jdbcType=VARCHAR}, #{smallChange,jdbcType=TINYINT}, #{enableCustomDiscount,jdbcType=TINYINT},
#{maxDiscount,jdbcType=DECIMAL}, #{maxPercent,jdbcType=DOUBLE}, #{bizDuration,jdbcType=VARCHAR},
#{allowWebPay,jdbcType=TINYINT}, #{isAutoToZero,jdbcType=TINYINT}, #{isIncludeTaxPrice,jdbcType=TINYINT},
#{taxNumber,jdbcType=VARCHAR}, #{createdAt,jdbcType=BIGINT}, #{updatedAt,jdbcType=BIGINT},
#{autoLockScreen,jdbcType=TINYINT}, #{voiceNotification,jdbcType=TINYINT}, #{discountConfigs,jdbcType=LONGVARCHAR},
#{serviceCharge,jdbcType=LONGVARCHAR})
insert into tb_shop_currency
id,
shop_id,
prepare_amount,
currency,
decimals_digits,
discount_round,
merchant_id,
small_change,
enable_custom_discount,
max_discount,
max_percent,
biz_duration,
allow_web_pay,
is_auto_to_zero,
is_include_tax_price,
tax_number,
created_at,
updated_at,
auto_lock_screen,
voice_notification,
discount_configs,
service_charge,
#{id,jdbcType=INTEGER},
#{shopId,jdbcType=VARCHAR},
#{prepareAmount,jdbcType=DECIMAL},
#{currency,jdbcType=VARCHAR},
#{decimalsDigits,jdbcType=TINYINT},
#{discountRound,jdbcType=VARCHAR},
#{merchantId,jdbcType=VARCHAR},
#{smallChange,jdbcType=TINYINT},
#{enableCustomDiscount,jdbcType=TINYINT},
#{maxDiscount,jdbcType=DECIMAL},
#{maxPercent,jdbcType=DOUBLE},
#{bizDuration,jdbcType=VARCHAR},
#{allowWebPay,jdbcType=TINYINT},
#{isAutoToZero,jdbcType=TINYINT},
#{isIncludeTaxPrice,jdbcType=TINYINT},
#{taxNumber,jdbcType=VARCHAR},
#{createdAt,jdbcType=BIGINT},
#{updatedAt,jdbcType=BIGINT},
#{autoLockScreen,jdbcType=TINYINT},
#{voiceNotification,jdbcType=TINYINT},
#{discountConfigs,jdbcType=LONGVARCHAR},
#{serviceCharge,jdbcType=LONGVARCHAR},
update tb_shop_currency
shop_id = #{shopId,jdbcType=VARCHAR},
prepare_amount = #{prepareAmount,jdbcType=DECIMAL},
currency = #{currency,jdbcType=VARCHAR},
decimals_digits = #{decimalsDigits,jdbcType=TINYINT},
discount_round = #{discountRound,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=VARCHAR},
small_change = #{smallChange,jdbcType=TINYINT},
enable_custom_discount = #{enableCustomDiscount,jdbcType=TINYINT},
max_discount = #{maxDiscount,jdbcType=DECIMAL},
max_percent = #{maxPercent,jdbcType=DOUBLE},
biz_duration = #{bizDuration,jdbcType=VARCHAR},
allow_web_pay = #{allowWebPay,jdbcType=TINYINT},
is_auto_to_zero = #{isAutoToZero,jdbcType=TINYINT},
is_include_tax_price = #{isIncludeTaxPrice,jdbcType=TINYINT},
tax_number = #{taxNumber,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
auto_lock_screen = #{autoLockScreen,jdbcType=TINYINT},
voice_notification = #{voiceNotification,jdbcType=TINYINT},
discount_configs = #{discountConfigs,jdbcType=LONGVARCHAR},
service_charge = #{serviceCharge,jdbcType=LONGVARCHAR},
where id = #{id,jdbcType=INTEGER}
update tb_shop_currency
set shop_id = #{shopId,jdbcType=VARCHAR},
prepare_amount = #{prepareAmount,jdbcType=DECIMAL},
currency = #{currency,jdbcType=VARCHAR},
decimals_digits = #{decimalsDigits,jdbcType=TINYINT},
discount_round = #{discountRound,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=VARCHAR},
small_change = #{smallChange,jdbcType=TINYINT},
enable_custom_discount = #{enableCustomDiscount,jdbcType=TINYINT},
max_discount = #{maxDiscount,jdbcType=DECIMAL},
max_percent = #{maxPercent,jdbcType=DOUBLE},
biz_duration = #{bizDuration,jdbcType=VARCHAR},
allow_web_pay = #{allowWebPay,jdbcType=TINYINT},
is_auto_to_zero = #{isAutoToZero,jdbcType=TINYINT},
is_include_tax_price = #{isIncludeTaxPrice,jdbcType=TINYINT},
tax_number = #{taxNumber,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
auto_lock_screen = #{autoLockScreen,jdbcType=TINYINT},
voice_notification = #{voiceNotification,jdbcType=TINYINT},
discount_configs = #{discountConfigs,jdbcType=LONGVARCHAR},
service_charge = #{serviceCharge,jdbcType=LONGVARCHAR}
where id = #{id,jdbcType=INTEGER}
update tb_shop_currency
set shop_id = #{shopId,jdbcType=VARCHAR},
prepare_amount = #{prepareAmount,jdbcType=DECIMAL},
currency = #{currency,jdbcType=VARCHAR},
decimals_digits = #{decimalsDigits,jdbcType=TINYINT},
discount_round = #{discountRound,jdbcType=VARCHAR},
merchant_id = #{merchantId,jdbcType=VARCHAR},
small_change = #{smallChange,jdbcType=TINYINT},
enable_custom_discount = #{enableCustomDiscount,jdbcType=TINYINT},
max_discount = #{maxDiscount,jdbcType=DECIMAL},
max_percent = #{maxPercent,jdbcType=DOUBLE},
biz_duration = #{bizDuration,jdbcType=VARCHAR},
allow_web_pay = #{allowWebPay,jdbcType=TINYINT},
is_auto_to_zero = #{isAutoToZero,jdbcType=TINYINT},
is_include_tax_price = #{isIncludeTaxPrice,jdbcType=TINYINT},
tax_number = #{taxNumber,jdbcType=VARCHAR},
created_at = #{createdAt,jdbcType=BIGINT},
updated_at = #{updatedAt,jdbcType=BIGINT},
auto_lock_screen = #{autoLockScreen,jdbcType=TINYINT},
voice_notification = #{voiceNotification,jdbcType=TINYINT}
where id = #{id,jdbcType=INTEGER}