The J-7 is based on the MiG-21 platform, and we've seen many MiG-21 upgrades, such as the MiG-21-2000 from Israel:
"IAI Lahav has augmented the original weapons system by introducing a new armament interface and control unit, which enables computerised control and release of weapons, including third- and fourth-generation air-to-air missiles."
"The upgrade package for the MiG-21 gives the aircraft beyond-visual-range capability"
New cockpit:
EL/M-2032 radar upgrade (recommended read, see page 2 on PDF):
With proper upgrades the MiG-21/J-7 is still quite useful. It's not as good as a late model jet fighter, but not all of your security concerns/border enforcement require expensive, modern fighter jets. For an example, if the PLAAF wants to station a squadron of planes near the western PRC-Mongolian border, J-7's will do just fine.