Пример #1
0
        public IActionResult OnPostQueryTrialLog(string fromDate, string toDate, string tecCode, int pageIndex, int pageSize)
        {
            ResultList <RTrialLog> result = new ResultList <RTrialLog>();

            try
            {
                int recordTotal;
                result.List        = _CourseSrv.QueryTrialLogList_BackEnd(fromDate, toDate, out recordTotal, tecCode, pageIndex, pageSize);
                result.RecordTotal = recordTotal;
            }
            catch (Exception ex)
            {
                result.ErrorMsg = ex.Message;
            }

            return(new JsonResult(result));
        }