From 940b1a470e6a9614adbf992eed05e47c52521486 Mon Sep 17 00:00:00 2001
From: xwt <2740516069@qq.com>
Date: 星期五, 04 七月 2025 16:16:28 +0800
Subject: [PATCH] 首检巡检

---
 StandardInterface/MESApplication/Controllers/WomcaaController.cs |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/StandardInterface/MESApplication/Controllers/WomcaaController.cs b/StandardInterface/MESApplication/Controllers/WomcaaController.cs
index 6ff858f..a1de1a6 100644
--- a/StandardInterface/MESApplication/Controllers/WomcaaController.cs
+++ b/StandardInterface/MESApplication/Controllers/WomcaaController.cs
@@ -32,6 +32,7 @@
         entity.Data = JsonConvert.SerializeObject(rohIn);
         entity.Status = 1;
         entity.CreateBy = "PL017";
+        entity.Route = rohIn.ErpCaa.FBillNo; 
         try
         {
             dynamic resultInfos = new ExpandoObject();
@@ -41,7 +42,10 @@
 
             entity.Result = 0;
 
-            if (save) entity.Result = 1;
+            if (save)
+            {
+                entity.Result = 1;
+            }
             entity.DealWith = 1;
             _manager.save(entity);
 

--
Gitblit v1.9.3