作者 tangxvhui

更新

@@ -151,7 +151,7 @@ type OrderFindQuery struct { @@ -151,7 +151,7 @@ type OrderFindQuery struct {
151 } 151 }
152 152
153 type OrderRepository interface { 153 type OrderRepository interface {
154 - Save(order *Order) error 154 + Save(order Order) error
155 FindOne(qureyOptions OrderFindOneQuery) (*Order, error) 155 FindOne(qureyOptions OrderFindOneQuery) (*Order, error)
156 Find(queryOptions OrderFindQuery) ([]Order, error) 156 Find(queryOptions OrderFindQuery) ([]Order, error)
157 CountAll(queryOption OrderFindQuery) (int, error) 157 CountAll(queryOption OrderFindQuery) (int, error)