From 1e1b8c262ebe02e82f93c4344f9feb9624f77b52 Mon Sep 17 00:00:00 2001
From: zyf <1071160500@qq.com>
Date: 星期二, 17 六月 2025 19:17:10 +0800
Subject: [PATCH] BOM接口优化逻辑

---
 MESApplication/Controllers/BOM/MesBomMasterController.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/MESApplication/Controllers/BOM/MesBomMasterController.cs b/MESApplication/Controllers/BOM/MesBomMasterController.cs
index 0fb33a7..81b8abd 100644
--- a/MESApplication/Controllers/BOM/MesBomMasterController.cs
+++ b/MESApplication/Controllers/BOM/MesBomMasterController.cs
@@ -38,7 +38,6 @@
             entity.TableName = TableName;
             entity.Url = URL + "Save";
             entity.Method = METHOD;
-            entity.Data = JsonConvert.SerializeObject(MesBomOrder);
             entity.Status = 1;
             entity.CreateBy = "PL017";
             try
@@ -52,6 +51,7 @@
                 if (save) entity.Result = 1;
 
                 entity.DealWith = 1;
+                entity.Data = JsonConvert.SerializeObject(MesBomOrder);
                 _manager.save(entity);
 
                 return new ResponseResult

--
Gitblit v1.9.3