From 8000b3a16fbea87ba4fcbc70a4540723849bf5a8 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期五, 21 十一月 2025 14:14:26 +0800
Subject: [PATCH] 开工数采逻辑优化

---
 Controllers/MesCutterLedgerController.cs |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/Controllers/MesCutterLedgerController.cs b/Controllers/MesCutterLedgerController.cs
index adac9b0..1864a70 100644
--- a/Controllers/MesCutterLedgerController.cs
+++ b/Controllers/MesCutterLedgerController.cs
@@ -12,6 +12,7 @@
 /// </summary>
 [ApiController]
 [Route("api/[controller]")]
+[Route("[controller]")] // 鍏佽 /MesCutterLedger/... 褰㈠紡鐨勮矾鐢憋紝鍏煎鍓嶇褰撳墠鍐欐硶
 public class MesCutterLedgerController : ControllerBase
 {
     private readonly MesCutterLedgerManager m = new();
@@ -24,7 +25,8 @@
         string type,
         int? useLimit,
         decimal? sdjs,
-        decimal? xdjs
+        decimal? xdjs,
+        decimal? modlLifeWorning
     );
 
     public record FormDataRequest(
@@ -75,7 +77,8 @@
                 req.type,
                 req.useLimit,
                 req.sdjs,
-                req.xdjs
+                req.xdjs,
+                req.modlLifeWorning
             );
 
             return Ok(new ResponseResult

--
Gitblit v1.9.3