From 579b5c04843d65748f3c60816ee8ec376c178d43 Mon Sep 17 00:00:00 2001 From: wbc <2597324127@qq.com> Date: 星期五, 14 二月 2025 20:02:50 +0800 Subject: [PATCH] 泰莱姆销售相关接口字段 --- MESApplication/Controllers/QC/XJController.cs | 15 +++++++++++---- 1 files changed, 11 insertions(+), 4 deletions(-) diff --git a/MESApplication/Controllers/QC/XJController.cs b/MESApplication/Controllers/QC/XJController.cs index e43cb9f..71847ce 100644 --- a/MESApplication/Controllers/QC/XJController.cs +++ b/MESApplication/Controllers/QC/XJController.cs @@ -4,6 +4,7 @@ using MES.Service.service.QC; using MES.Service.util; using Microsoft.AspNetCore.Mvc; +using Microsoft.Data.SqlClient.Server; using Newtonsoft.Json.Linq; namespace MESApplication.Controllers.QC; @@ -82,7 +83,9 @@ } - //getDaa001 + /// <summary> + /// 鑾峰彇宸ュ崟 + /// </summary> [HttpPost("getDaa001")] public ResponseResult getDaa001([FromBody] JObject data) { @@ -107,7 +110,10 @@ } } - //getBoardItem + /// <summary> + /// 鏍规嵁浜х嚎鑾峰彇鐗╂枡缂栫爜 lineNo + /// </summary> + /// <returns></returns> [HttpPost("getBoardItem")] public ResponseResult getBoardItem([FromBody] JObject data) { @@ -159,12 +165,13 @@ [HttpPost("setJYItem")] public ResponseResult setJYItem([FromBody] JObject data) { - var itemNo = data["itemNo"].ToString(); + var itemId = Convert.ToDecimal(data["itemId"].ToString()); try { + dynamic resultInfos = new ExpandoObject(); var tbBillList = - new XJService().setJYItem(itemNo); + new XJService().setJYItem(itemId); resultInfos.tbBillList = tbBillList; return new ResponseResult { -- Gitblit v1.9.3