From 687c7eb08e7c3a803a3b60dedc9c394dbb6ba411 Mon Sep 17 00:00:00 2001
From: 啊鑫 <t2856754968@163.com>
Date: 星期三, 24 七月 2024 10:46:07 +0800
Subject: [PATCH] 增加采购验退,调整代码结构

---
 MESApplication/Controllers/Warehouse/PurdhbController.cs |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/MESApplication/Controllers/MesLineUserController.cs b/MESApplication/Controllers/Warehouse/PurdhbController.cs
similarity index 90%
copy from MESApplication/Controllers/MesLineUserController.cs
copy to MESApplication/Controllers/Warehouse/PurdhbController.cs
index 74259cf..3687f1d 100644
--- a/MESApplication/Controllers/MesLineUserController.cs
+++ b/MESApplication/Controllers/Warehouse/PurdhbController.cs
@@ -1,16 +1,16 @@
 锘縰sing System.Dynamic;
 using MES.Service.Modes;
-using MES.Service.service;
+using MES.Service.service.Warehouse;
 using MES.Service.util;
 using Microsoft.AspNetCore.Mvc;
 
-namespace MESApplication.Controllers;
+namespace MESApplication.Controllers.Warehouse;
 
 [ApiController]
 [Route("api/[controller]")]
-public class MesLineUserController : ControllerBase
+public class PurdhbController : ControllerBase
 {
-    private readonly MesLineUserManager m = new();
+    private readonly PurdhbManager m = new();
 
 
     /***杩涘叆妯$増绠$悊鍙互淇敼妯$増***/
@@ -93,7 +93,7 @@
     /// </summary>
     /// <returns></returns>
     [HttpPost("Insert")]
-    public ResponseResult Add([FromBody] MesLineUser data)
+    public ResponseResult Add([FromBody] Purdhb data)
     {
         try
         {
@@ -117,7 +117,7 @@
     /// </summary>
     /// <returns></returns>
     [HttpPost("InsertReturnIdentity")]
-    public ResponseResult InsertReturnIdentity([FromBody] MesLineUser data)
+    public ResponseResult InsertReturnIdentity([FromBody] Purdhb data)
     {
         try
         {
@@ -141,7 +141,7 @@
     /// </summary>
     /// <returns></returns>
     [HttpPost("Update")]
-    public ResponseResult Update([FromBody] MesLineUser data)
+    public ResponseResult Update([FromBody] Purdhb data)
     {
         try
         {

--
Gitblit v1.9.3