...
|
...
|
@@ -59,9 +59,14 @@ type Order struct { |
|
|
LastViewTime time.Time `json:"lastViewTime"`
|
|
|
}
|
|
|
|
|
|
// type PartnerFindOneQuery struct {
|
|
|
// UserId int64
|
|
|
// AccountEqual string
|
|
|
// }
|
|
|
|
|
|
type OrderRepository interface {
|
|
|
// Save(*AdminUser) (*AdminUser, error)
|
|
|
// FindOne(qureyOptions AdminUserFindOneQuery) (*AdminUser, error)
|
|
|
Save(*Order) error
|
|
|
//FindOne(qureyOptions AdminUserFindOneQuery) (*AdminUser, error)
|
|
|
// Find(queryOptions AdminUserFindQuery) ([]AdminUser, error)
|
|
|
// CountAll(queryOption AdminUserFindQuery) (int, error)
|
|
|
} |
...
|
...
|
|