SELECT DISTINCT(p.`id`), p.`id` , v.`full_name` , CONCAT(LEFT(v.mobile, 7), '****') , DATE_FORMAT(DATE_ADD(v.`visit_time`, INTERVAL 8 HOUR), '%Y-%m-%d %H:%i:%s') , v.`remark` , w.`address_city` , v.`record_person` , v.`consult_country` , v.`first_vis…