From 3c0b7580543df45b621ea7e9007861420e650482 Mon Sep 17 00:00:00 2001
From: yxj <1qaz@123>
Date: 星期三, 18 五月 2022 16:03:06 +0800
Subject: [PATCH] 工序进站单、工序出站单、委外接收单、委外发出单快捷键顺序设置;基础资料生产资源、不良原因界面增加导出功能

---
 WebAPI/Controllers/SellOutBackController.cs |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/WebAPI/Controllers/SellOutBackController.cs b/WebAPI/Controllers/SellOutBackController.cs
index c8a743f..3fc17c7 100644
--- a/WebAPI/Controllers/SellOutBackController.cs
+++ b/WebAPI/Controllers/SellOutBackController.cs
@@ -246,6 +246,8 @@
         {
             try
             {
+                if (String.IsNullOrEmpty(sWhere))
+                    sWhere = "and 1 = 1 ";
                 ds = webserver.GetKf_PonderationBillMain_Temp(HBillID, HBillType, sWhere);
                 if (ds == null || ds.Tables[0].Rows.Count <= 0)
                 {

--
Gitblit v1.9.1