From bc759f50f0b169b93766465e640373067ecfc9b2 Mon Sep 17 00:00:00 2001
From: wangxinhui <wangxinhui@hnkhzn.com>
Date: 星期五, 25 七月 2025 15:15:16 +0800
Subject: [PATCH] 删除垃圾文件
---
项目代码/WMS/WMSServices/WIDESEA_WMSServer/Controllers/MES/MesController.cs | 59 ++---------------------------------------------------------
1 files changed, 2 insertions(+), 57 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/MES/MesController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/MES/MesController.cs"
index 7e7102d..0439ef8 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/MES/MesController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WMSServices/WIDESEA_WMSServer/Controllers/MES/MesController.cs"
@@ -4,9 +4,6 @@
using WIDESEA_Core;
using WIDESEA_DTO;
using WIDESEA_IBasicService;
-using WIDESEA_IInboundRepository;
-using WIDESEA_IInboundService;
-using WIDESEA_IOutboundService;
using WIDESEA_ITaskInfoService;
using WIDESEA_TaskInfoService;
using WIDESEA_DTO.ERP;
@@ -24,12 +21,10 @@
[ApiController]
public class MesController : ControllerBase
{
- private readonly IOutboundService _outboundService;
private readonly ITaskService _taskService;
- public MesController(IOutboundService outboundService, ITaskService taskService)
+ public MesController(ITaskService taskService)
{
- _outboundService = outboundService;
_taskService = taskService;
}
@@ -78,17 +73,6 @@
}
/// <summary>
- /// 鍩烘澘鍑哄簱
- /// </summary>
- /// <param name="model"></param>
- /// <returns></returns>
- [HttpPost, Route("SubstrateOut"), AllowAnonymous]
- public MesResponseContent SubstrateOut([FromBody] Root<SubstrateOutModel> model)
- {
- return _taskService.SubstrateOut(model.Content);
- }
-
- /// <summary>
/// 鍩烘澘浣欐枡閫�搴�
/// </summary>
/// <param name="model"></param>
@@ -108,26 +92,7 @@
{
return _taskService.UploadMesMaterialLotaAcept(model);
}
- /// <summary>
- /// MES鎴愬搧鍐呭寘淇℃伅鎺ユ敹
- /// </summary>
- /// <param name="model"></param>
- /// <returns></returns>
- [HttpPost, Route("BagInfoSync"), AllowAnonymous]
- public MesResponseContent BagInfoSync([FromBody] Root<MesBagInfoModel> model)
- {
- return _taskService.BagInfoSync(model.Content);
- }
- /// <summary>
- /// MES鎴愬搧澶栧寘淇℃伅鎺ユ敹
- /// </summary>
- /// <param name="model"></param>
- /// <returns></returns>
- [HttpPost, Route("BoxStockin"), AllowAnonymous]
- public MesResponseContent BoxStockin([FromBody] Root<MesBoxInfoModel> model)
- {
- return _taskService.BoxStockin(model.Content);
- }
+
/// <summary>
/// MES鎴愬搧鍑哄簱鎺ュ彛璋冪敤
/// </summary>
@@ -136,26 +101,6 @@
public WebResponseContent ShipmentOrderSync([FromBody] MesShipmentOrderSync model)
{
return _taskService.ShipmentOrderSync(model);
- }
- /// <summary>
- /// 鎴愬搧杩斿伐鎻愬簱
- /// </summary>
- /// <param name="model"></param>
- /// <returns></returns>
- [HttpPost,Route("RworkTask"),AllowAnonymous]
- public MesResponseContent RworkTask([FromBody] Root<RworkTaskModel> model)
- {
- return _taskService.RworkTask(model.Content);
- }
- /// <summary>
- /// 搴撳瓨鏉垮嚭搴撳悓姝ユ帴鍙�
- /// </summary>
- /// <param name="model"></param>
- /// <returns></returns>
- [HttpPost, Route("ProductOutBoundSync"), AllowAnonymous]
- public WebResponseContent ProductOutBoundSync([FromBody] MesProductOutBound model)
- {
- return _outboundService.RworkOutboundOrderService.ProductOutBoundSync(model);
}
}
}
--
Gitblit v1.9.3