This commit is contained in:
苏尹岚
2020-01-02 16:32:02 +08:00
parent 3572cace45
commit 4eb559a4cb

View File

@@ -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)
}