예제 #1
0
        public AjaxResult GetOrderTail([FromBody] dynamic Json)
        {
            #region                            //参数
            string ConNO     = Json.ConNO;     //合同号
            string StartDate = Json.StartDate; //开始时间
            string EndDate   = Json.EndDate;   //结束时间
            #endregion

            #region //数据操作
            AjaxResult result = new AjaxResult();

            Mod_TS_USER modUser = GetUserID();
            if (modUser != null)
            {
                Mod_TS_CUSTFILE mod = ts_custfile.GetModel(modUser.C_CUST_ID);
                result.Code   = DoResult.Success;
                result.Result = SerializationHelper.Dtb2Json(tmo_order.GetOrderJL(ConNO, StartDate, EndDate, mod.C_NO).Tables[0]);
            }

            #endregion

            return(result);
        }