From 1385eab35b573c234140492ac5666c05d148bbd6 Mon Sep 17 00:00:00 2001
From: 快乐的昕的电脑 <快乐的昕的电脑@DESKTOP-C2BQPQU>
Date: 星期五, 26 九月 2025 10:16:52 +0800
Subject: [PATCH] 将引用DevMachine改为引用DevMacBycl

---
 Controllers/DevMachineController.cs |   10 +++++-----
 Services/DevMachineManager.cs       |    6 +++---
 Services/WomdaaManager.cs           |    2 +-
 3 files changed, 9 insertions(+), 9 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
         {
diff --git a/Services/DevMachineManager.cs b/Services/DevMachineManager.cs
index 70b24bb..1bd1c3e 100644
--- a/Services/DevMachineManager.cs
+++ b/Services/DevMachineManager.cs
@@ -3,11 +3,11 @@
 
 namespace PadApplication.Services;
 
-public class DevMachineManager : Repository<DevMachine>
+public class DevMachineManager : Repository<DevMacBycl>
 {
-    public bool UpdateDevMachine(DevMachine devMachine)
+    public bool UpdateDevMachine(DevMacBycl devMachine)
     {
-        return Db.Updateable<DevMachine>()
+        return Db.Updateable<DevMacBycl>()
             .SetColumns(s => s.PdaMac == devMachine.PdaMac)
             .SetColumns(s => s.PrintMac == devMachine.PrintMac)
             .Where(s => s.MachineNo == devMachine.MachineNo)
diff --git a/Services/WomdaaManager.cs b/Services/WomdaaManager.cs
index 9410264..0f1a12d 100644
--- a/Services/WomdaaManager.cs
+++ b/Services/WomdaaManager.cs
@@ -166,7 +166,7 @@
         vOrder.wjQty = vOrder.Daa008 - vOrder.Daa011;
 
         //DevMachine
-        var devMachine = Db.Queryable<DevMachine>()
+        var devMachine = Db.Queryable<DevMacBycl>()
             .Where(s => s.MachineNo == vOrder.MachineNo)
             .First();
 

--
Gitblit v1.9.3