From fbbb2e3801dc7a1073d555278f92353d5c14ab86 Mon Sep 17 00:00:00 2001 From: kyy <3283105747@qq.com> Date: 星期一, 14 七月 2025 21:28:38 +0800 Subject: [PATCH] 最新代码 --- MESApplication/Controllers/QC/SJController.cs | 45 ++++++++++++++++++++++++++++++++++++++++++++- 1 files changed, 44 insertions(+), 1 deletions(-) diff --git a/MESApplication/Controllers/QC/SJController.cs b/MESApplication/Controllers/QC/SJController.cs index ed0a331..dc666f1 100644 --- a/MESApplication/Controllers/QC/SJController.cs +++ b/MESApplication/Controllers/QC/SJController.cs @@ -56,7 +56,27 @@ return ResponseResult.ResponseError(ex); } } - + [HttpPost("getSearchPage")] + public ResponseResult getSearchPage([FromBody] SJPageResult queryObj) + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new SJService().getSearchPage(queryObj); + resultInfos.tbBillList = tbBillList; + return new ResponseResult + { + status = 0, + message = "OK", + data = resultInfos + }; + } + catch (Exception ex) + { + return ResponseResult.ResponseError(ex); + } + } //SetQSItems [HttpPost("SetQSItems")] @@ -342,4 +362,27 @@ return ResponseResult.ResponseError(ex); } } + + //getWorkshop + [HttpPost("getWorkshop")] + public ResponseResult getWorkshop() + { + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new SJService().getWorkshop(); + 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