作者 tangxvhui

。。

@@ -59,9 +59,14 @@ type Order struct { @@ -59,9 +59,14 @@ type Order struct {
59 LastViewTime time.Time `json:"lastViewTime"` 59 LastViewTime time.Time `json:"lastViewTime"`
60 } 60 }
61 61
  62 +// type PartnerFindOneQuery struct {
  63 +// UserId int64
  64 +// AccountEqual string
  65 +// }
  66 +
62 type OrderRepository interface { 67 type OrderRepository interface {
63 - // Save(*AdminUser) (*AdminUser, error)  
64 - // FindOne(qureyOptions AdminUserFindOneQuery) (*AdminUser, error) 68 + Save(*Order) error
  69 + //FindOne(qureyOptions AdminUserFindOneQuery) (*AdminUser, error)
65 // Find(queryOptions AdminUserFindQuery) ([]AdminUser, error) 70 // Find(queryOptions AdminUserFindQuery) ([]AdminUser, error)
66 // CountAll(queryOption AdminUserFindQuery) (int, error) 71 // CountAll(queryOption AdminUserFindQuery) (int, error)
67 } 72 }