SELECT customer_id, name, account, phone, open_id, password, status, place_status, customer_logo_url, customer_place, parent_customer_place, create_by, create_time, remark FROM customer SELECT COUNT(*) 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( #{customerId}, #{name}, #{account}, #{phone}, #{customerLogoUrl}, #{openId}, #{status}, #{remark}, #{createBy}, sysdate() ) update customer name = #{name}, account = #{account}, phone = #{phone}, customer_logo_url = #{customerLogoUrl}, status = #{status}, remark = #{remark}, update_by = #{updateBy}, customer_place = #{customerPlace}, parent_customer_place = #{parentCustomerPlace}, place_status = #{placeStatus}, update_time = sysdate() where customer_id = #{customerId}