From 4eb559a4cb52432285bfe8f400fe6fa35a4e815b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=8B=8F=E5=B0=B9=E5=B2=9A?= <770236076@qq.com> Date: Thu, 2 Jan 2020 16:32:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B7=AE=E8=AF=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- business/model/dao/dao_order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/business/model/dao/dao_order.go b/business/model/dao/dao_order.go index aaac96497..12800accd 100644 --- a/business/model/dao/dao_order.go +++ b/business/model/dao/dao_order.go @@ -1086,7 +1086,7 @@ func GetOrdersSupplement(db *DaoDB, storIDs, vendorIDs []int, vendorOrderID stri sql += " AND status = ?" sqlParams = append(sqlParams, status) } - if stype >= 0 { + if stype > 0 { sql += " AND type = ?" sqlParams = append(sqlParams, stype) }