From 5adecb7ffd986930d2f4e195c0273e4db73b5315 Mon Sep 17 00:00:00 2001 From: kyy <3283105747@qq.com> Date: 星期五, 07 二月 2025 18:36:51 +0800 Subject: [PATCH] 优化首检 --- MESApplication/Controllers/QC/XJController.cs | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/MESApplication/Controllers/QC/XJController.cs b/MESApplication/Controllers/QC/XJController.cs index e43cb9f..7f4a12c 100644 --- a/MESApplication/Controllers/QC/XJController.cs +++ b/MESApplication/Controllers/QC/XJController.cs @@ -159,12 +159,15 @@ [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