public AjaxResult GetConTrace([FromBody] dynamic Json) { #region //参数 string custName = Json.custName; //客户名称 string saleEmp = Json.saleEmp; //业务员 string conNO = Json.conNO; //合同号 string startDate = Json.startDate; //开始时间 string endDate = Json.endDate; //结束时间 #endregion //SerializationHelper.Dtb2Json(tmo_order.GetConTrace(custName, saleEmp, conNO, startDate, endDate).Tables[0]); #region //数据操作 AjaxResult result = new AjaxResult(); result.Code = DoResult.Success; result.Result = JsonConvert.SerializeObject(tmo_order.GetConTrace(custName, saleEmp, conNO, startDate, endDate).Tables[0], new DataTableConverter()); #endregion return(result); }