コード例 #1
0
ファイル: UpperShelfBll.cs プロジェクト: pitucre/PDA_C-
 /// <summary>
 /// 撤销
 /// </summary>
 /// <param name="context"></param>
 /// <returns></returns>
 private string GetShelvesUndo(HttpContext context)
 {
     try
     {
         string _LNO  = context.Request["LNO"].Trim();
         string _EqID = context.Request["EqID"].Trim();
         if (dal.GetShelvesUndo(_LNO, _level, _EqID))
         {
             return(JsonHelper <Messaging <STC0009> > .EntityToJson(new Messaging <STC0009>("0", xml.ReadLandXml("0"))));
         }
         else
         {
             return(JsonHelper <Messaging <string> > .EntityToJson(new Messaging <string>("2", "轮胎撤销货笼失败!")));
         }
     }
     catch (Exception ex)
     {
         SystemErrorPlug.ErrorRecord(ex.ToString());
         return(JsonHelper <Messaging <string> > .EntityToJson(new Messaging <string>("500", ex.Message.ToString().Trim().Replace("\r\n", ""))));
     }
 }