From 491a1e7607e80762142372be5c2ea2677c0a5035 Mon Sep 17 00:00:00 2001
From: yxj <yxj@hz-kingdee.com>
Date: 星期三, 13 八月 2025 09:20:10 +0800
Subject: [PATCH] 网页端条码生成模块,条码生成调用方法增加客户海诚品种条码生成规则(源单:收料通知单)

---
 WebAPI/Controllers/CJGL/Cj_SingleStationController.cs |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs b/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs
index 699b9b2..6ab5655 100644
--- a/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs
+++ b/WebAPI/Controllers/CJGL/Cj_SingleStationController.cs
@@ -461,7 +461,8 @@
                 List<Model.Sc_AssemblyBill_BindSourceTemp> tempList = new List<Model.Sc_AssemblyBill_BindSourceTemp>();
                 tempList = JsonConvert.DeserializeObject<List<Model.Sc_AssemblyBill_BindSourceTemp>>(msg1);
 
-                if (tempList.Count == 0) {
+                if (msg1 != "[]" && tempList.Count == 0)
+                {
                     objJsonResult.code = "0";
                     objJsonResult.count = 0;
                     objJsonResult.Message = "[3791-2-026]鏃犻厤浠舵暟鎹�!";

--
Gitblit v1.9.1