SELECT customer_id, name, account, phone, open_id, status,
customer_logo_url, create_by, create_time, remark
FROM customer
DELETE FROM customer WHERE customer_id IN
#{customerIds}
DELETE FROM customer WHERE customer_id = #{customerId}
insert into customer(
customer_id,
name,
account,
phone,
customer_logo_url,
open_id,
status,
remark,
create_by,
create_time
)values(
${customer_id},
${name},
${account},
${phone},
${customer_logo_url},
${open_id},
${status},
${remark},
${create_by},
sysdate()
)
update costomer
name = ${name},
account = ${account},
phone = ${phone},
customer_logo_url = ${customer_logo_url},
status = #{status},
remark = #{remark},
update_by = #{updateBy},
update_time = sysdate()
where customer_id = #{customerId}