From 387731cab892804912e68cb91e6fb804411c4756 Mon Sep 17 00:00:00 2001
From: huangxiaoqiang <huangxiaoqiang@hnkhzn.com>
Date: 星期一, 27 十月 2025 23:32:16 +0800
Subject: [PATCH] 优化与ERP出库单逻辑,增加打印程序
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/BoxingInfoController.cs | 24 +++++++++++++++++++-----
1 files changed, 19 insertions(+), 5 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/BoxingInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/BoxingInfoController.cs"
index 26c253a..303203c 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/BoxingInfoController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/BoxingInfoController.cs"
@@ -9,11 +9,25 @@
public BoxingInfoController(IBoxingInfoService service) : base(service)
{
}
-
- // POST api/<BoxingInfoController>
- [HttpPost, Route("AddBoxingInfo"), AllowAnonymous]
- public Task<WebResponseContent> AddBoxingInfoAsync([FromBody] AddBoxingDto boxingInfo)
+ /// <summary>
+ /// 缁勭洏
+ /// </summary>
+ /// <param name="groupPlate"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("AddGroupPlateAsync"), AllowAnonymous]
+ public Task<WebResponseContent> AddGroupPlateAsync([FromBody] GroupPlate groupPlate)
{
- return Service.AddBoxingInfoAsync(boxingInfo);
+ return Service.AddGroupPlateAsync(groupPlate);
+ }
+
+ /// <summary>
+ /// 瑙g洏
+ /// </summary>
+ /// <param name="groupPlate"></param>
+ /// <returns></returns>
+ [HttpPost, HttpGet, Route("DeleteGroupPlateAsync"), AllowAnonymous]
+ public async Task<WebResponseContent> DeleteGroupPlateAsync([FromBody] GroupPlate groupPlate)
+ {
+ return await Service.DeleteGroupPlateAsync(groupPlate);
}
}
\ No newline at end of file
--
Gitblit v1.9.3