From 261dae0381dc3c5042086b14794f79674a20da38 Mon Sep 17 00:00:00 2001
From: ch <37327@LLOOCCY>
Date: 星期四, 11 十一月 2021 21:40:56 +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