From 02d60b1885ae6b27822e01c95ff2e19fb3b6ac22 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期四, 16 十月 2025 16:43:01 +0800
Subject: [PATCH] 显式转换类型

---
 Controllers/DevMachineController.cs |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/Controllers/DevMachineController.cs b/Controllers/DevMachineController.cs
index 4508d54..90fa62c 100644
--- a/Controllers/DevMachineController.cs
+++ b/Controllers/DevMachineController.cs
@@ -63,7 +63,7 @@
     /// </summary>
     /// <returns></returns>
     [HttpPost("UpdateDevMachine")]
-    public ResponseResult UpdateDevMachine([FromBody] DevMachine data)
+    public ResponseResult UpdateDevMachine([FromBody] DevMacBycl data)
     {
         try
         {
@@ -84,7 +84,7 @@
 
     //GetDevMachineByPdaMac
     [HttpPost("GetDevMachineByPdaMac")]
-    public ResponseResult GetDevMachineByPdaMac([FromBody] DevMachine data)
+    public ResponseResult GetDevMachineByPdaMac([FromBody] DevMacBycl data)
     {
         try
         {
@@ -181,7 +181,7 @@
     /// </summary>
     /// <returns></returns>
     [HttpPost("Insert")]
-    public ResponseResult Add([FromBody] DevMachine data)
+    public ResponseResult Add([FromBody] DevMacBycl data)
     {
         try
         {
@@ -205,7 +205,7 @@
     /// </summary>
     /// <returns></returns>
     [HttpPost("InsertReturnIdentity")]
-    public ResponseResult InsertReturnIdentity([FromBody] DevMachine data)
+    public ResponseResult InsertReturnIdentity([FromBody] DevMacBycl data)
     {
         try
         {
@@ -229,7 +229,7 @@
     /// </summary>
     /// <returns></returns>
     [HttpPost("Update")]
-    public ResponseResult Update([FromBody] DevMachine data)
+    public ResponseResult Update([FromBody] DevMacBycl data)
     {
         try
         {

--
Gitblit v1.9.3