From b2bc0cccd77524b3ba1f05d5f7854324ce62ba2e Mon Sep 17 00:00:00 2001 From: wbc <2597324127@qq.com> Date: 星期三, 12 二月 2025 18:12:14 +0800 Subject: [PATCH] 泰莱姆首检巡检添加 --- MESApplication/Controllers/QC/XJController.cs | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/MESApplication/Controllers/QC/XJController.cs b/MESApplication/Controllers/QC/XJController.cs index ef25d6b..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; @@ -164,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