正在显示
1 个修改的文件
包含
7 行增加
和
2 行删除
@@ -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 | } |
-
请 注册 或 登录 后发表评论