It is normal for the names to be the same but the contents to be different. Patents protect technical solutions, and the same patent application names do not affect the substantive content.
If the names are the same and the technical solution claimed is the same or basically the same, the authorization will be granted to the person who applied first. Later applicants are at a disadvantage because the Chinese patent system encourages first-filers.