public ActionResult SaveExist(Exist exist, string W_name, string U_name)
        {
            //通过key查询到要改变的exit
            //通过W_name和U_name分别获得仓库编号和用户编号
            //整合信息
            UserBusinessLayer userBusinessLayer = new UserBusinessLayer();

            if ((exist.U_id = userBusinessLayer.GetId(U_name)) == -1)
            {
                return(RedirectToAction("RedirectStorage"));
            }
            WarehouseBusinessLayer warehouseBusinessLayer = new WarehouseBusinessLayer();

            if ((exist.W_id = warehouseBusinessLayer.GetId(W_name)) == -1)
            {
                return(RedirectToAction("RedirectStorage"));
            }
            //修改信息
            ExistBusinessLayer existBusinessLayer = new ExistBusinessLayer();

            existBusinessLayer.InputExist(exist.IO_Id, exist);

            //重定向
            return(RedirectToAction("RedirectStorage"));
        }