This commit is contained in:
gazebo
2020-02-06 16:46:40 +08:00
parent ab77e0d220
commit 80fc4ce6a9

View File

@@ -1182,7 +1182,7 @@ func GetJxOrderCount(db *DaoDB, storeID int, orderID string, date time.Time) (co
}
if orderID != "" {
sql += " AND t1.vendor_order_id = ?"
sql += " AND t1.vendor_order_id != ?"
sqlParams = append(sqlParams, orderID)
}
err = GetRow(db, &count, sql, sqlParams...)