避免同步时数据重复提交

where="user_id=$user_id and local_id=$local_id and
device_type=$device_type and device_no=$device_no"