...
|
...
|
@@ -151,7 +151,7 @@ type OrderFindQuery struct { |
|
|
}
|
|
|
|
|
|
type OrderRepository interface {
|
|
|
Save(order *Order) error
|
|
|
Save(order Order) error
|
|
|
FindOne(qureyOptions OrderFindOneQuery) (*Order, error)
|
|
|
Find(queryOptions OrderFindQuery) ([]Order, error)
|
|
|
CountAll(queryOption OrderFindQuery) (int, error)
|
...
|
...
|
|