From 45a69e109d3ed2f3ba6d03f722021d019cb8792a Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期二, 18 十一月 2025 10:40:28 +0800
Subject: [PATCH] 查询报工记录,获取最后一条报工记录,改为实际的工单ID
---
Controllers/DeviceStatusController.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/Controllers/DeviceStatusController.cs b/Controllers/DeviceStatusController.cs
index 3fcaade..6c39da3 100644
--- a/Controllers/DeviceStatusController.cs
+++ b/Controllers/DeviceStatusController.cs
@@ -93,7 +93,7 @@
/// </summary>
/// <returns></returns>
[HttpPost("Insert")]
- public ResponseResult Add([FromBody] DeviceStatus data)
+ public ResponseResult Add([FromBody] DeviceStatusBycl data)
{
try
{
@@ -117,7 +117,7 @@
/// </summary>
/// <returns></returns>
[HttpPost("InsertReturnIdentity")]
- public ResponseResult InsertReturnIdentity([FromBody] DeviceStatus data)
+ public ResponseResult InsertReturnIdentity([FromBody] DeviceStatusBycl data)
{
try
{
@@ -141,7 +141,7 @@
/// </summary>
/// <returns></returns>
[HttpPost("Update")]
- public ResponseResult Update([FromBody] DeviceStatus data)
+ public ResponseResult Update([FromBody] DeviceStatusBycl data)
{
try
{
--
Gitblit v1.9.3