From 733c975cd8647f6d006736f1863bad731e32e6fb Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期日, 26 十月 2025 17:15:52 +0800
Subject: [PATCH] 上传最新代码,ERP接口,MES接口优化,WMS业务优化等
---
项目代码/WMS/WMSServices/WIDESEA_TaskInfoService/MesSolderService.cs | 31 -------------------------------
1 files changed, 0 insertions(+), 31 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/MesSolderService.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/MesSolderService.cs"
index 9c952e5..681d817 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/MesSolderService.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_TaskInfoService/MesSolderService.cs"
@@ -9,7 +9,6 @@
using WIDESEA_Core.Helper;
using WIDESEA_Core;
using WIDESEA_DTO;
-using WIDESEA_DTO.MES;
using WIDESEA_Model.Models;
namespace WIDESEA_TaskInfoService
@@ -32,36 +31,6 @@
responseContent.Error(ex.Message);
}
return responseContent;
- }
- }
- /// <summary>
- /// 闃茬剨绔嬪簱鍏ュ簱鍚庤皟鐢∕ES鎺ュ彛鑾峰彇鎵规淇℃伅
- /// </summary>
- /// <param name="LotNo"></param>
- /// <returns></returns>
- public MesSolderModel? GetProductByLot(string LotNo)
- {
- WebResponseContent content = new WebResponseContent();
- try
- {
- Dt_ApiInfo apiInfo = _apiInfoRepository.QueryFirst(x => x.ApiCode == APIEnum.WMS_MES_GetProductByLot.ToString());
- string requestApi = apiInfo.ApiAddress + "?lotNo=" + LotNo;
- string response = HttpMesHelper.Post(requestApi);
- MesResponseContent mesResponseContent = response.DeserializeObject<MesResponseContent>();
- //璋冪敤鎺ュ彛
- if (mesResponseContent.BSucc == true)
- {
- MesSolderModel? mesSolder= mesResponseContent.Content.ToString()?.DeserializeObject<MesSolderModel>();
- return mesSolder;
- }
- else
- {
- throw new Exception(mesResponseContent.StrMsg);
- }
- }
- catch (Exception ex)
- {
- throw new Exception(ex.Message);
}
}
}
--
Gitblit v1.9.3