public ActionResult GetStogageByUser(string userId)
 {
     try
     {
         int uId  = Convert.ToInt32(userId);
         var list = new I_StorageBLL().GetStorageListby(uId).Select(e => e.ToDictionary());
         return(Json(list));
     }
     catch (Exception)
     {
         return(this.Json(""));
     }
 }
 public ActionResult GetApplyStorage()
 {
     try
     {
         string instr = AppConfig.GetConfigString("ApplyStorageCode");
         var    list  = new I_StorageBLL().GetStorageExtListby("StorageID>0 and StorageID in (" + instr + ")");
         return(Json(list));
     }
     catch
     {
         return(this.Json(""));
     }
 }
 public ActionResult GetApplyStorage()
 {
     try
     {
         string instr = AppConfig.GetConfigString("ApplyStorageCode");
         var list = new I_StorageBLL().GetStorageExtListby("StorageID>0 and StorageID in (" + instr + ")");
         return Json(list);
     }
     catch
     {
         return this.Json("");
     }
 }
 public ActionResult GetStorageCombo()
 {
     try
     {
         List <int> slist = UserOperateContext.Current.Session_StorageRelated.listUserStorage;
         string     instr = "";
         foreach (int item in slist)
         {
             instr += item + ",";
         }
         instr = instr.Substring(0, instr.Length - 1);
         var list = new I_StorageBLL().GetStorageExtListby("StorageID>0 and StorageID in (" + instr + ")");
         return(Json(list));
     }
     catch (Exception)
     {
         return(this.Json(""));
     }
 }
 public ActionResult GetStorageCombo()
 {
     try
     {
         List<int> slist = UserOperateContext.Current.Session_StorageRelated.listUserStorage;
         string instr = "";
         foreach (int item in slist)
         {
             instr += item + ",";
         }
         instr = instr.Substring(0, instr.Length - 1);
         var list = new I_StorageBLL().GetStorageExtListby("StorageID>0 and StorageID in (" + instr + ")");
         return Json(list);
     }
     catch (Exception)
     {
         return this.Json("");
     }
 }
 public ActionResult GetStogageByUser(string userId)
 {
     try
     {
         int uId = Convert.ToInt32(userId);
         var list = new I_StorageBLL().GetStorageListby(uId).Select(e => e.ToDictionary());
         return Json(list);
     }
     catch (Exception)
     {
         return this.Json("");
     }
 }