예제 #1
0
 private static SimpleJson DeliverOrder4Package()
 {
     string orderNumber = WebUtil.Param("ordNumber").Trim();
     if (string.IsNullOrEmpty(orderNumber)) return new SimpleJson().HandleError("发货单号码为空");
     SimpleJson json = new SimpleJson();
     using (ISession session = new Session())
     {
         json = CRMSN.DeliverOrder4Package(session, orderNumber);
     }
     if (log.IsDebugEnabled)
         log.Debug("sn loaded: " + json.ToString());
     return json;
 }