Example #1
0
        public ActionResult DataItemEnabled(string keyValue)
        {
            var item = bll.GetStandardDataEntity(keyValue);

            if (item.STATUS == "0")
            {
                item.STATUS = "1";
            }
            else
            {
                item.STATUS = "0";
            }
            bll.ModifyStandardDataForm(keyValue, item);
            return(Success("操作成功"));
        }