From e853dd2fecef3a0c446d161248d0498a5a081e66 Mon Sep 17 00:00:00 2001
From: xwt <2740516069@qq.com>
Date: 星期三, 17 十二月 2025 18:49:49 +0800
Subject: [PATCH] SJ,XJ,RKJ优化修改
---
StandardInterface/MESApplication/Controllers/QC/XJController.cs | 9 ++++++++-
1 files changed, 8 insertions(+), 1 deletions(-)
diff --git a/StandardInterface/MESApplication/Controllers/QC/XJController.cs b/StandardInterface/MESApplication/Controllers/QC/XJController.cs
index 18c4299..496e9a9 100644
--- a/StandardInterface/MESApplication/Controllers/QC/XJController.cs
+++ b/StandardInterface/MESApplication/Controllers/QC/XJController.cs
@@ -845,9 +845,16 @@
};
}
+ // 鑾峰彇鍙�夌殑鍥剧墖ID锛岀敤浜庡垹闄ゅ崟寮犲浘鐗�
+ decimal? imageId = null;
+ if (data["imageId"] != null)
+ {
+ imageId = Convert.ToDecimal(data["imageId"].ToString());
+ }
+
// 璋冪敤鏈嶅姟鏂规硶鍒犻櫎鍥剧墖
var service = new XJService();
- var (status, message) = service.DeleteImageFromPicture(Convert.ToDecimal(id));
+ var (status, message) = service.DeleteImageFromPicture(Convert.ToDecimal(id), imageId);
return new ResponseResult
{
--
Gitblit v1.9.3