In other words, you can apply for two first. When the utility model is authorized, the invention has not been approved. If your patent can be granted a patent right for invention, you must give up the previous patent right for utility model (of course, under the condition that the patent right for utility model has not been terminated) before you can be granted a patent right for invention, because the same invention (patent) can only be granted a patent right, which is the oneness in patent law.