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/RKJController.cs |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/MESApplication/Controllers/QC/RKJController.cs b/MESApplication/Controllers/QC/RKJController.cs
index 435d970..fb7b6ac 100644
--- a/MESApplication/Controllers/QC/RKJController.cs
+++ b/MESApplication/Controllers/QC/RKJController.cs
@@ -86,13 +86,13 @@
     [HttpPost("setJYItem")]
     public ResponseResult setJYItem([FromBody] JObject data)
     {
-        var itemNo = data["itemNo"].ToString();
+        var itemId = Convert.ToDecimal(data["itemId"].ToString()); 
         var quantity = Convert.ToDecimal(data["quantity"].ToString());
         try
         {
             dynamic resultInfos = new ExpandoObject();
             var tbBillList =
-                new RKJService().SetItems(itemNo, quantity);
+                new RKJService().SetItems(itemId, quantity);
             resultInfos.tbBillList = tbBillList;
             return new ResponseResult
             {

--
Gitblit v1.9.3