diff --git a/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/WMSBarCoreController.cs b/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/WMSBarCoreController.cs
index 8a9d7f5..9605013 100644
--- a/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/WMSBarCoreController.cs
+++ b/ICSSoft.WMS.WebAPI/ICSSoft.WMS.WebAPI/Controllers/WMSBarCoreController.cs
@@ -315,108 +315,7 @@ namespace ICSSoft.WebAPI.Controllers
return result;
}
-
-
-
- ///
- /// 使用中
- /// 获取源头单据信息(佑伦专用)
- ///
- ///
- ///
- [HttpPost]
- [Route("api/TransInformationYL/Get")]
- public HttpResponseMessage YLTransInformationGet([FromBody] object JsonData)
- {
- log.Info("获取源头单据信息传入值" + JsonData);
- try
- {
- if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]")
- {
- WMSSourceDocumentModel model = new WMSSourceDocumentModel();
- model = JsonConvert.DeserializeObject(JsonData.ToString());
- var resultStr = ICSSubmitService.YLTransInformationGet(model);
-
- if (resultStr != null && resultStr.Rows.Count > 0 && resultStr.ToString() != "[]")
- {
- res.Success = true;
- res.Message = LanguageHelper.GetNameSingle("WMSAPI001");// LanguageHelper.GetNameSingle("WMSAPI001");// "接口调用成功!";
- res.Data = resultStr;
- }
- else
- {
- res.Success = false;
- res.Message = LanguageHelper.GetNameSingle("WMSAPI003");//"未查询到相关数据!";
- //res.Data = resultStr;
- }
- }
- }
- catch (Exception ex)
- {
- log.Error("获取源头单据信息转换失败:" + ex.ToString());
- res.Success = false;
- res.Message = ex.Message;
- }
- finally
- {
- str = JsonConvert.SerializeObject(res);
- result.Content = new StringContent(str, Encoding.GetEncoding("UTF-8"), "application/json");
- }
- //log.Debug("获取源头单据信息返回值:" + str);
- return result;
-
- }
-
-
- ///
- /// 使用中
- /// 获取源头单据信息(奥美专用)
- ///
- ///
- ///
- [HttpPost]
- [Route("api/TransInformationAM/Get")]
- public HttpResponseMessage AMTransInformationGet([FromBody] object JsonData)
- {
- log.Info("获取源头单据信息传入值" + JsonData);
- try
- {
- if (JsonData != null && !string.IsNullOrWhiteSpace(JsonData.ToString()) && JsonData.ToString() != "[]")
- {
- WMSSourceDocumentModel model = new WMSSourceDocumentModel();
- model = JsonConvert.DeserializeObject(JsonData.ToString());
- var resultStr = ICSSubmitService.AMTransInformationGet(model);
-
- if (resultStr != null && resultStr.Rows.Count > 0 && resultStr.ToString() != "[]")
- {
- res.Success = true;
- res.Message = LanguageHelper.GetNameSingle("WMSAPI001");// LanguageHelper.GetNameSingle("WMSAPI001");// "接口调用成功!";
- res.Data = resultStr;
- }
- else
- {
- res.Success = false;
- res.Message = LanguageHelper.GetNameSingle("WMSAPI003");//"未查询到相关数据!";
- //res.Data = resultStr;
- }
- }
- }
- catch (Exception ex)
- {
- log.Error("获取源头单据信息转换失败:" + ex.ToString());
- res.Success = false;
- res.Message = ex.Message;
- }
- finally
- {
- str = JsonConvert.SerializeObject(res);
- result.Content = new StringContent(str, Encoding.GetEncoding("UTF-8"), "application/json");
- }
- //log.Debug("获取源头单据信息返回值:" + str);
- return result;
-
- }
-
+
///
/// 获取所有未完成的单据号(奥美专用)
///