From e7dc4cb866b9a530a8033dce76434e636dd4c259 Mon Sep 17 00:00:00 2001 From: chenxiangxue <910695411@qq.com> Date: Tue, 17 Dec 2024 19:05:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A8=A1=E7=B3=8A=E6=9F=A5=E8=AF=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Competition.Mysql/DAL/T_STK_STORAGE_SILO.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CompetitionAPI/CompetitionAPI/Competition.Mysql/DAL/T_STK_STORAGE_SILO.cs b/CompetitionAPI/CompetitionAPI/Competition.Mysql/DAL/T_STK_STORAGE_SILO.cs index d0ba2e8..20a4852 100644 --- a/CompetitionAPI/CompetitionAPI/Competition.Mysql/DAL/T_STK_STORAGE_SILO.cs +++ b/CompetitionAPI/CompetitionAPI/Competition.Mysql/DAL/T_STK_STORAGE_SILO.cs @@ -421,11 +421,11 @@ namespace Competition.Mysql.DAL if(string.IsNullOrEmpty(req.SHIP_NAME_EN) && string.IsNullOrEmpty(req.VOYAGE_NO) && string.IsNullOrEmpty(req.STANDARD_NAME) && string.IsNullOrEmpty(req.MONITOR_ID) && string.IsNullOrEmpty(req.BILL_NO)) { - T2 = "T_STK_STORAGE"; + T2 = "T_STK_STORAGE WHERE STOCK_BALANCE > 0 AND "; } else { - T2 = "(select * FROM T_STK_STORAGE WHERE "; + T2 = "(select * FROM T_STK_STORAGE WHERE STOCK_BALANCE > 0 AND "; string tmp1="",tmp2="",tmp3="",tmp4="",tmp5=""; if(!string.IsNullOrEmpty(req.SHIP_NAME_EN)) {