China reported a 7.9 percent rise in exports and a 15.9 percent jump in imports — both in dollar terms — for 2017.