From 45d569f41e2c20d2afabc42a2fdb9e19d6f1e0ec Mon Sep 17 00:00:00 2001 From: 杨乐 <yang.le.192@qq.com> Date: 星期五, 21 一月 2022 08:57:42 +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