/// <summary>
        /// 修改回采煤开采日记录
        /// </summary>
        /// <param name="context"></param>
        private void update(HttpContext context)
        {
            string json = "";
            TBL_COALMINEDAILYRECORD model = new TBL_COALMINEDAILYRECORD();

            model.coalminedailyrecordid = context.Request["coalminedailyrecordid"];
            model.organizationid        = context.Request["organizationid"];
            model.coalfaceid            = context.Request["coalfaceid"];
            model.coalminetype          = context.Request["coalminetype"];
            model.daycompletion         = Convert.ToDecimal(context.Request["daycompletion"]);
            model.addupcompletion       = Convert.ToDecimal(context.Request["addupcompletion"]);
            try
            {
                Bll.Update(model);
                json = "{IsSuccess:'true',Message:'保存成功!'}";
            }
            catch
            {
                json = "{IsSuccess:'false',Message:'保存失败!'}";
            }
            // context.Response.ContentType = "application/json";
            //返回JSON结果
            context.Response.Write(json);
            context.Response.End();
        }
        /// <summary>
        /// 新增回采煤开采日记录
        /// </summary>
        /// <param name="context"></param>
        private void add(HttpContext context)
        {
            string json = "";
            TBL_COALMINEDAILYRECORD model = new TBL_COALMINEDAILYRECORD();

            model.coalminedailyrecordid = System.Guid.NewGuid().ToString().ToUpper();
            model.organizationid        = context.Request["organizationid"];
            model.coalfaceid            = context.Request["coalfaceid"];
            model.coalminetype          = context.Request["coalminetype"];
            model.daycompletion         = Convert.ToDecimal(context.Request["daycompletion"]);
            model.addupcompletion       = Convert.ToDecimal(context.Request["addupcompletion"]);
            try
            {
                Bll.Add(model);
                json = "{IsSuccess:'true',Message:'保存成功!'}";
            }
            catch
            {
                json = "{IsSuccess:'false',Message:'保存失败!'}";
            }
            context.Response.Write(json);
            context.Response.End();
        }