Пример #1
0
        /// <summary>
        /// 体重记录
        /// </summary>
        /// <param name="patientId"></param>
        /// <returns></returns>
        public async Task <IActionResult> GetWeightList(long patientId)
        {
            //默认30条最新记录
            var weightList = await _weightService.GetAdminTopWeightList(new CommonIndexInput { PatientId = patientId, TopNumber = 30 });

            weightList.Reverse();

            return(Json(weightList));
        }