...
|
...
|
@@ -67,7 +67,7 @@ func (dao *OrderDao) GetDividendOrders(options map[string]interface{}) (count in |
|
|
if v, ok := options["orderType"]; ok {
|
|
|
q.Where(`"order".order_type=?`, v)
|
|
|
}
|
|
|
if v, ok := options["partnerId"]; ok && len(v.(string)) > 0 {
|
|
|
if v, ok := options["partnerId"]; ok && v.(int) > 0 {
|
|
|
q.Where(`"order".partner_id =?`, v)
|
|
|
}
|
|
|
if v, ok := options["offset"]; ok {
|
...
|
...
|
|