SELECT
ic.id,
ic.name,
ic.short_name,
ic.head_img,
ic.banner_images,
ic.type,
ic.customer_status,
ic.sector,
ic.country,
ic.process,
ic.contacts,
ic.building_id,
ic.phone,
ic.email,
ic.room_id,
ic.build_id,
ic.credit_no,
ic.mail_address,
ic.postal_code,
ic.channel_type,
ic.channel_name,
ic.is_blacklist,
ic.remark,
ic.reg_no,
ic.status,
ic.org_no,
ic.oper_name,
ic.econ_kind,
ic.start_date,
ic.belong_org,
ic.regist_capi,
ic.end_date,
ic.address,
ic.scope,
ic.create_by,
ic.create_time,
ic.update_by,
ic.update_time,
ic.version,
ic.delete_flag,
ic.tenant_id,
ic.park_id,
ip.name AS pName
FROM
ics_customer AS ic LEFT JOIN ics_park AS ip ON ip.id = ic.`park_id`