id,
merchant_name,
address,
status,
organization_code,
manager_name,
manager_phone,
service_phone,
logo_url,
app_id,
dept_id,
create_by,
create_time,
update_by,
update_time,
del_flag
select
from pile_merchant_info t
insert into pile_merchant_info
id,
merchant_name,
address,
status,
organization_code,
manager_name,
manager_phone,
service_phone,
logo_url,
app_id,
dept_id,
create_by,
create_time,
update_by,
update_time,
del_flag,
#{id},
#{merchantName},
#{address},
#{status},
#{organizationCode},
#{managerName},
#{managerPhone},
#{servicePhone},
#{logoUrl},
#{appId},
#{deptId},
#{createBy},
#{createTime},
#{updateBy},
#{updateTime},
#{delFlag},
update pile_merchant_info
merchant_name = #{merchantName},
address = #{address},
status = #{status},
organization_code = #{organizationCode},
manager_name = #{managerName},
manager_phone = #{managerPhone},
service_phone = #{servicePhone},
logo_url = #{logoUrl},
app_id = #{appId},
create_by = #{createBy},
create_time = #{createTime},
update_by = #{updateBy},
update_time = #{updateTime},
del_flag = #{delFlag},
where id = #{id}
delete
from pile_merchant_info
where id = #{id}
delete
from pile_merchant_info where id in
#{id}