/// <summary> /// 上传节点信息 弃用 /// </summary> /// <param name="nodeList">节点集合</param> /// <returns></returns> public ResultModel <bool> UploadWaybill_Node(List <Model_Waybill_Node> nodeList) { ResultModel <bool> result = new ResultModel <bool>(); try { foreach (Model_Waybill_Node item in nodeList) { if (PDA_HuadongTmsOrderServer.ChecNumber(item.BaseId) && item.BaseId.Length == 12) { result.Data = PDA_WaybillServer.UploadWaybill_Node(nodeList); } else { //result.Data = PDA_HuadongTmsOrderServer.GethuadongTmsOrderNode(nodeList); result.Data = PDA_WaybillServer.UploadWaybill_Node(nodeList[0], 669, null); } } // result.Data = PDA_WaybillServer.UploadWaybill_Node(nodeList); } catch (Exception ex) { HandleExcepthin(result, ex); } return(result); }
/// <summary> /// 上传签收图片 弃用 /// </summary> /// <param name="postback">签收信息</param> /// <param name="picList">图片集合</param> /// <returns></returns> public ResultModel <bool> UploadWaybill_Postback(Model_Waybill_Postback_Pic postback, DateTime postbackTime, List <object> picList) { ResultModel <bool> result = new ResultModel <bool>(); try { if (PDA_HuadongTmsOrderServer.ChecNumber(postback.BaseId) && postback.BaseId.Length == 12) { result.Data = PDA_WaybillServer.UploadWaybill_Postback(postback, postbackTime, picList); } else { //result.Data = PDA_HuadongTmsOrderServer.UploadWaybill_HuaDong(postback, postbackTime, picList); result.Data = PDA_WaybillServer.UploadWaybill_Postback(postback, postbackTime, picList, 669); } } catch (Exception ex) { HandleExcepthin(result, ex); } return(result); }