Of course, it will eventually be registered in the patent department of China National Intellectual Property Administration, but there are certain confidentiality measures for national defense patents
If the military science and technology invention patent you mentioned does not involve national defense secrets, you can also apply for a patent directly in China National Intellectual Property Administration, but only if you have obtained a certain level of examination from the secrecy department of the superior unit, and the patent you declared belongs to the service invention, and the ownership belongs to the army. All you have is the right to sign, that is, the patent was invented by you.