From 95584843043327d4fa12481f0cf3e6c0785fcc26 Mon Sep 17 00:00:00 2001 From: cdk <2441919651@qq.com> Date: 星期一, 15 九月 2025 09:54:27 +0800 Subject: [PATCH] 其他出库增加库存 --- Controllers/QC/LljController.cs | 71 +++++++++++++++++++++++++++++++++++ 1 files changed, 70 insertions(+), 1 deletions(-) diff --git a/Controllers/QC/LljController.cs b/Controllers/QC/LljController.cs index 553b613..0b2c7de 100644 --- a/Controllers/QC/LljController.cs +++ b/Controllers/QC/LljController.cs @@ -35,6 +35,28 @@ } } + [HttpPost("getBadge")] + public ResponseResult getBadge() + { + try + { + dynamic resultInfos = new ExpandoObject(); + var item = new LljService().getBadge(); + var tbBillList = + resultInfos.tbBillList = item; + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + [HttpPost("setJYItem")] public ResponseResult setJYItem([FromBody] JObject data) @@ -94,7 +116,7 @@ dynamic resultInfos = new ExpandoObject(); var tbBillList = new LljService().GetItems(releaseNo, - Convert.ToDecimal(id)); + id); resultInfos.tbBillList = tbBillList; return new ResponseResult { @@ -273,4 +295,51 @@ return ResponseResult.ResponseError(ex); } } + + + //鍒犻櫎鐗瑰緛鍊� + [HttpPost("deleteDetail13")] + public ResponseResult deleteDetail13(LLJDto rkjDto) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = new LljService().deleteDetail13(rkjDto); + resultInfos.tbBillList = tbBillList; + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + + //鏇存柊涓嶅悎鏍兼弿杩� + [HttpPost("updateRemarks")] + public ResponseResult updateRemarks(LLJDto rkjDto) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = new LljService().updateRemarks(rkjDto); + resultInfos.tbBillList = tbBillList; + 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