From 45a69e109d3ed2f3ba6d03f722021d019cb8792a Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期二, 18 十一月 2025 10:40:28 +0800
Subject: [PATCH] 查询报工记录,获取最后一条报工记录,改为实际的工单ID
---
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