/// <summary> /// 调整是否已安装 /// </summary> /// <param name="id"></param> private void SetUse(int id) { ShowShop.BLL.SystemInfo.Deliver bll = new ShowShop.BLL.SystemInfo.Deliver(); ShowShop.Model.SystemInfo.Deliver model = bll.GetModelByID(id); if (model.Isinstallation == 0) { bll.Amend(id, "IsInstallation", 1); Response.Write("ok"); } else { bll.Amend(id, "IsInstallation", 0); Response.Write("ok"); } }
/// <summary> /// 删除 /// </summary> /// <param name="id"></param> //private void Del(string id) //{ // ShowShop.BLL.SystemInfo.Deliver bll = new ShowShop.BLL.SystemInfo.Deliver(); // bll.Delete(id); // Response.Write("ok"); //} /// <summary> /// 修改优先级 /// </summary> /// <param name="id"></param> /// <param name="sort"></param> private void SetInsuredCosts(int id, int InsuredCosts) { ShowShop.BLL.SystemInfo.Deliver bll = new ShowShop.BLL.SystemInfo.Deliver(); bll.Amend(id, "InsuredCosts", InsuredCosts); Response.Write("ok"); }