From a3beb6aae5d38391a5de3450ff20dd2a9b7e2bdb Mon Sep 17 00:00:00 2001
From: cdk <2441919651@qq.com>
Date: 星期六, 26 七月 2025 10:54:06 +0800
Subject: [PATCH] 增加用户和部门的接口
---
Controllers/Warehouse/MesDbckController.cs | 138 +++++++++++++++++++++++-----------------------
1 files changed, 69 insertions(+), 69 deletions(-)
diff --git a/Controllers/Warehouse/MesDbckController.cs b/Controllers/Warehouse/MesDbckController.cs
index 50e65e9..8556a00 100644
--- a/Controllers/Warehouse/MesDbckController.cs
+++ b/Controllers/Warehouse/MesDbckController.cs
@@ -88,75 +88,75 @@
}
}
- /// <summary>
- /// 娣诲姞
- /// </summary>
- /// <returns></returns>
- [HttpPost("Insert")]
- public ResponseResult Add([FromBody] MesDbck data)
- {
- try
- {
- dynamic resultInfos = new ExpandoObject();
- resultInfos.tbBillList = m.Insert(data);
- return new ResponseResult
- {
- status = 0,
- message = "OK",
- data = resultInfos
- };
- }
- catch (Exception ex)
- {
- return ResponseResult.ResponseError(ex);
- }
- }
+ ///// <summary>
+ ///// 娣诲姞
+ ///// </summary>
+ ///// <returns></returns>
+ //[HttpPost("Insert")]
+ //public ResponseResult Add([FromBody] MesDbck data)
+ //{
+ // try
+ // {
+ // dynamic resultInfos = new ExpandoObject();
+ // resultInfos.tbBillList = m.Insert(data);
+ // return new ResponseResult
+ // {
+ // status = 0,
+ // message = "OK",
+ // data = resultInfos
+ // };
+ // }
+ // catch (Exception ex)
+ // {
+ // return ResponseResult.ResponseError(ex);
+ // }
+ //}
- /// <summary>
- /// 娣诲姞杩斿洖鑷
- /// </summary>
- /// <returns></returns>
- [HttpPost("InsertReturnIdentity")]
- public ResponseResult InsertReturnIdentity([FromBody] MesDbck data)
- {
- try
- {
- dynamic resultInfos = new ExpandoObject();
- resultInfos.tbBillList = m.InsertReturnIdentity(data);
- return new ResponseResult
- {
- status = 0,
- message = "OK",
- data = resultInfos
- };
- }
- catch (Exception ex)
- {
- return ResponseResult.ResponseError(ex);
- }
- }
+ ///// <summary>
+ ///// 娣诲姞杩斿洖鑷
+ ///// </summary>
+ ///// <returns></returns>
+ //[HttpPost("InsertReturnIdentity")]
+ //public ResponseResult InsertReturnIdentity([FromBody] MesDbck data)
+ //{
+ // try
+ // {
+ // dynamic resultInfos = new ExpandoObject();
+ // resultInfos.tbBillList = m.InsertReturnIdentity(data);
+ // return new ResponseResult
+ // {
+ // status = 0,
+ // message = "OK",
+ // data = resultInfos
+ // };
+ // }
+ // catch (Exception ex)
+ // {
+ // return ResponseResult.ResponseError(ex);
+ // }
+ //}
- /// <summary>
- /// 淇敼
- /// </summary>
- /// <returns></returns>
- [HttpPost("Update")]
- public ResponseResult Update([FromBody] MesDbck data)
- {
- try
- {
- dynamic resultInfos = new ExpandoObject();
- resultInfos.tbBillList = m.Update(data);
- return new ResponseResult
- {
- status = 0,
- message = "OK",
- data = resultInfos
- };
- }
- catch (Exception ex)
- {
- return ResponseResult.ResponseError(ex);
- }
- }
+ ///// <summary>
+ ///// 淇敼
+ ///// </summary>
+ ///// <returns></returns>
+ //[HttpPost("Update")]
+ //public ResponseResult Update([FromBody] MesDbck data)
+ //{
+ // try
+ // {
+ // dynamic resultInfos = new ExpandoObject();
+ // resultInfos.tbBillList = m.Update(data);
+ // return new ResponseResult
+ // {
+ // status = 0,
+ // message = "OK",
+ // data = resultInfos
+ // };
+ // }
+ // catch (Exception ex)
+ // {
+ // return ResponseResult.ResponseError(ex);
+ // }
+ //}
}
\ No newline at end of file
--
Gitblit v1.9.3