How many casualties did our country suffer in the self-defense counterattack against Vietnam?

According to the Summary of the Work of the Self-Defense Counterattack on Vietnam prepared by the Logistics Department of the Kunming Military Region, from February 17 to March 16, 1979, the PLA and the pre-service militia*** participating in the war in Guangxi and Yunnan sacrificed 6,954 people and wounded more than 21,000 people; 15,000 Vietcongs were killed from February 17 to February 27, and 37,000 from February 28 to March 16.

According to a report prepared by the Military History Institute of the Ministry of National Defense of Vietnam, in 1974 the PLA and the pre-service militia in Yunnan died in the war and more than 21,000 were wounded. According to "50 Years of the Vietnamese People's Army (1944-1994)" compiled by the Military History Institute of the Ministry of National Defense of Vietnam (Military Translation Publishing House has a Chinese translation), on February 17, 1979, China mobilized more than 600,000 troops, hundreds of tanks and armored vehicles, and thousands of artillery pieces to launch a large-scale attack on Vietnam along the entire northern border from Quang Ninh to Lai Chau. After 30 days and nights of fighting (February 17 to March 18), Vietnam eliminated and heavily wounded 18 battalions of 3 Chinese regiments, destroyed and wounded 550 military vehicles (280 tanks and armored vehicles), destroyed 115 artillery pieces and heavy mortars, and captured a large number of weapons. The Vietnamese side claimed that China wounded more than 60,000 people, and another 20,000 were killed.