From f3047bc98b1ace53f1ee09beca82c3864bb5957e Mon Sep 17 00:00:00 2001 From: zjh <2207896513@qq.com> Date: 星期四, 05 六月 2025 21:10:48 +0800 Subject: [PATCH] 签收送货单api提交 --- StandardPda/MESApplication/Controllers/QC/BaseController.cs | 36 +++++++++++++++++++++++++++++++++--- 1 files changed, 33 insertions(+), 3 deletions(-) diff --git a/StandardPda/MESApplication/Controllers/QC/BaseController.cs b/StandardPda/MESApplication/Controllers/QC/BaseController.cs index dd54e7f..bfd4538 100644 --- a/StandardPda/MESApplication/Controllers/QC/BaseController.cs +++ b/StandardPda/MESApplication/Controllers/QC/BaseController.cs @@ -1,9 +1,9 @@ -锘縰sing System.Dynamic; -using MES.Service.Dto.service; +锘縰sing MES.Service.Dto.service; using MES.Service.service.QC; using MES.Service.util; using Microsoft.AspNetCore.Mvc; using Newtonsoft.Json.Linq; +using System.Dynamic; namespace MESApplication.Controllers.QC; @@ -61,7 +61,7 @@ [HttpPost("getByFid")] public ResponseResult getByFid([FromBody] JObject data) { - var id = Convert.ToInt32(data["fid"].ToString()); + var id = Convert.ToInt64(data["fid"].ToString()); var qsType = data["qsType"].ToString(); try { @@ -81,4 +81,34 @@ return ResponseResult.ResponseError(ex); } } + + /// <summary> + /// 鑾峰彇鏉ユ枡妫�鍗曚釜妫�楠屽崟涓婁紶鐨勬墍鏈夊浘鐗� + /// </summary> + /// <param name="data"></param> + /// <returns></returns> + [HttpPost("getLljAllImgByFid")] + public ResponseResult getLljAllImgByFid([FromBody] JObject data) + { + var id = data["id"].ToString(); + var qsType = data["qsType"].ToString(); + try + { + dynamic resultInfos = new ExpandoObject(); + var tbBillList = + new BaseService().getLljAllImgByFid(id, qsType); + 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