From 232cdf071bfe3bd2b77ba05accba89b67fcc1edc Mon Sep 17 00:00:00 2001 From: Zhang-Hong-Lin <a3219986988@163.com> Date: 星期四, 26 六月 2025 18:51:14 +0800 Subject: [PATCH] 优化bug与添加一键删除按钮 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Weight_HtyController.cs | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Weight_HtyController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Weight_HtyController.cs" index 20caeb1..81fc7ca 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Weight_HtyController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/System/Weight_HtyController.cs" @@ -1,4 +1,5 @@ 锘縰sing Microsoft.AspNetCore.Mvc; +using WIDESEAWCS_Core; using WIDESEAWCS_Core.BaseController; using WIDESEAWCS_ISystemServices; using WIDESEAWCS_ITaskInfoService; @@ -12,8 +13,17 @@ [ApiController] public class Weight_HtyController : ApiBaseController<Idt_WeightHtyService, dt_Weight_hty> { + private readonly Idt_WeightHtyService _Idt_WeightHtyService; public Weight_HtyController(Idt_WeightHtyService service) : base(service) { + _Idt_WeightHtyService = service; + } + + //鍏ㄩ儴鍒犻櫎 + [HttpPost, HttpGet, Route("alldelete")] + public WebResponseContent alldelete() + { + return Service.alldelete(); } } } -- Gitblit v1.9.3