select user_id, address, status,wallet_type, usdt_allowed, usdc_allowed,usdc,usdt, eth, btc, trx,allowed_notice, usdt_monitor, create_by, create_time, update_by, update_time, remark, search_value from t_app_address_info
insert into t_app_address_info
user_id,
address,
wallet_type,
usdt_allowed,
usdc_allowed,
usdt,
usdc,
eth,
btc,
allowed_notice,
usdt_monitor,
create_by,
create_time,
update_by,
update_time,
remark,
search_value,
trx,
status,
#{userId},
#{address},
#{walletType},
#{usdtAllowed},
#{usdcAllowed},
#{usdt},
#{usdc},
#{eth},
#{btc},
#{allowedNotice},
#{usdtMonitor},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{remark},
#{searchValue},
#{trx},
#{status},
update t_app_address_info
address = #{address},
wallet_type = #{walletType},
usdt_allowed = #{usdtAllowed},
usdc_allowed = #{usdcAllowed},
usdt = #{usdt},
usdc = #{usdc},
eth = #{eth},
btc = #{btc},
trx = #{trx},
allowed_notice = #{allowedNotice},
usdt_monitor = #{usdtMonitor},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
remark = #{remark},
search_value = #{searchValue},
trx = #{trx},
status=#{status},
where user_id = #{userId}
delete from t_app_address_info where user_id = #{userId}