aa
This commit is contained in:
@@ -910,6 +910,12 @@ func GetOrders(db *DaoDB, ids []int64, isIncludeSku, isIncludeFake bool, fromDat
|
||||
sqlParams = append(sqlParams, utils.MustInterface2Int64(params["brandID"]))
|
||||
}
|
||||
}
|
||||
if params["deliveryType"] != nil {
|
||||
if params["deliveryType"].(string) != "" {
|
||||
sqlWhere += " AND t1.delivery_type = ?"
|
||||
sqlParams = append(sqlParams, params["deliveryType"].(string))
|
||||
}
|
||||
}
|
||||
if params["cities"] != nil {
|
||||
var cities []int
|
||||
if err = utils.UnmarshalUseNumber([]byte(params["cities"].(string)), &cities); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user