From 9debd4bde28b01a578f680f7e97872f9711a7fd5 Mon Sep 17 00:00:00 2001
From: yusijie <ysj@hz-kingdee.com>
Date: 星期五, 11 十月 2024 13:41:25 +0800
Subject: [PATCH] 审核工艺路线时,同一个物料存在两个工艺路线,则刷新默认工艺路线

---
 WebAPI/Controllers/ProductInBackController.cs |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/WebAPI/Controllers/ProductInBackController.cs b/WebAPI/Controllers/ProductInBackController.cs
index fd9c4fe..bef61b6 100644
--- a/WebAPI/Controllers/ProductInBackController.cs
+++ b/WebAPI/Controllers/ProductInBackController.cs
@@ -191,7 +191,8 @@
                 {
                     objJsonResult.code = "0";
                     objJsonResult.count = 1;
-                    objJsonResult.Message = "鐢熸垚浜у搧閫�搴撳崟鎴愬姛锛佸崟鎹彿涓猴細";
+                    objJsonResult.Message = DBUtility.ClsPub.sErrInfo;  //鎴愬姛锛�
+                    //objJsonResult.Message = "鐢熸垚浜у搧閫�搴撳崟鎴愬姛锛佸崟鎹彿涓猴細";
                     objJsonResult.data = null;
                     return objJsonResult;
                 }
@@ -199,7 +200,8 @@
                 {
                     objJsonResult.code = "0";
                     objJsonResult.count = 0;
-                    objJsonResult.Message = "涓婁紶澶辫触锛�" + DBUtility.ClsPub.sErrInfo;
+                    objJsonResult.Message = DBUtility.ClsPub.sErrInfo;  //澶辫触锛�
+                    //objJsonResult.Message = "涓婁紶澶辫触锛�" + DBUtility.ClsPub.sErrInfo;
                     objJsonResult.data = null;
                     return objJsonResult;
                 }

--
Gitblit v1.9.1