// int[] a = {99857217,99857231,99884890,99885124,99887349,99888816,99888820,99888821,99888822,99888830,99888831,99888837,99888842,99888847,99888851,99888855,99888860,99888867,99888876,99888879,99888884,99888896,99888897,99888900,99888901,99888923,99888930,99888943,99888983,99889000,99889032,99889043,99889046,99889104,99889142,99889158,99889165,99889177,99889184,99889218,99889230,99889236,99889250,99889304,99889380,99889401,99889426,99889435,99889508,99889510,99889538,99889719,99889723,99889731,99889922,99889931,99890029,99890043,99890137,99890152,99890157,99890163,99890237,99890461,99890473,99890485,99890495,99890656,99890658,99890662,99890663,99890670,99890774,99891395,99891410,99891424,99891432,99891439,99891480,99891517};
inner JOIN (SELECT mobile_phone,MIN(id) as id FROM p_doctor WHERE delete_flag=1 and mobile_phone is not null GROUP BY mobile_phone having count(*)>1) inn
on pd.id != inn.id and pd.mobile_phone = inn.mobile_phone) ttt);
</update>
<insertid="updateDoctorModifyRecord">
insert into log_p_doctor(`doctor_id`, `sex`, `name`, `mobile_phone`, `tel`, `status`, `type`, `hospital_id`,