This commit is contained in:
richboo111
2022-07-27 16:16:08 +08:00
parent a4c1c1dc75
commit f2e9fef592

View File

@@ -132,7 +132,7 @@ func GetOrderByID(db *DaoDB, orderID string) (*model.Order, error) {
utils.DefaultTimeValue,
}
if orderID != "" {
sql += "AND order_id = ?"
sql += `AND order_id = ?`
sqlParams = append(sqlParams, orderID)
}
orderInfos := &model.Order{}