From f6598be8fdb51673c0a48ddeac8bd0e622835b35 Mon Sep 17 00:00:00 2001 From: 啊鑫 <t2856754968@163.com> Date: 星期三, 16 七月 2025 11:58:10 +0800 Subject: [PATCH] 111 --- MESApplication/Controllers/QC/RKJController.cs | 58 +++++++++++++++++++++++++++++----------------------------- 1 files changed, 29 insertions(+), 29 deletions(-) diff --git a/MESApplication/Controllers/QC/RKJController.cs b/MESApplication/Controllers/QC/RKJController.cs index d8953d0..df0351e 100644 --- a/MESApplication/Controllers/QC/RKJController.cs +++ b/MESApplication/Controllers/QC/RKJController.cs @@ -59,34 +59,34 @@ } - /* //getDaa001 - [HttpPost("getDaa001")] - public ResponseResult getDaa001([FromBody] JObject data) - { - var lineNo = data["lineNo"].ToString(); - try - { - dynamic resultInfos = new ExpandoObject(); - var tbBillList = - new RKJService().GetDaa001s(lineNo); - resultInfos.tbBillList = tbBillList; - return new ResponseResult - { - status = 0, - message = "OK", - data = resultInfos - }; - } - catch (Exception ex) - { - return ResponseResult.ResponseError(ex); - } - } -*/ + /* //getDaa001 + [HttpPost("getDaa001")] + public ResponseResult getDaa001([FromBody] JObject data) + { + var lineNo = data["lineNo"].ToString(); + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new RKJService().GetDaa001s(lineNo); + resultInfos.tbBillList = tbBillList; + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } + */ [HttpPost("setJYItem")] public ResponseResult setJYItem([FromBody] JObject data) { - var itemId = Convert.ToDecimal(data["itemId"].ToString()); + var itemId = Convert.ToDecimal(data["itemId"].ToString()); var quantity = Convert.ToDecimal(data["quantity"].ToString()); try { @@ -135,7 +135,7 @@ try { dynamic resultInfos = new ExpandoObject(); - var tbBillList = new RKJService().getPage(queryObj); + var tbBillList = new RKJService().getPage(queryObj); resultInfos.tbBillList = tbBillList; return new ResponseResult { @@ -149,6 +149,7 @@ return ResponseResult.ResponseError(ex); } } + [HttpPost("getSearchPage")] public ResponseResult getSearchPage([FromBody] XJPageResult queryObj) { @@ -159,7 +160,7 @@ { status = 0, message = "OK", - data = tbBillList // 杩欓噷鐩存帴鎶� PageResult<QsItemOqcReq> 鏀捐繘鍘伙紝閲岄潰鍖呭惈 tbBillList + data = tbBillList // 杩欓噷鐩存帴鎶� PageResult<QsItemOqcReq> 鏀捐繘鍘伙紝閲岄潰鍖呭惈 tbBillList }; } catch (Exception ex) @@ -381,6 +382,7 @@ return ResponseResult.ResponseError(ex); } } + [HttpPost("RKJQaSubmit")] public ResponseResult RKJQaSubmit([FromBody] QsItem item) { @@ -402,6 +404,4 @@ return ResponseResult.ResponseError(ex); } } - - } \ No newline at end of file -- Gitblit v1.9.3