diff --git a/supplier/batch/goods.go b/supplier/batch/goods.go index 398c8d5..17a128f 100644 --- a/supplier/batch/goods.go +++ b/supplier/batch/goods.go @@ -3,13 +3,14 @@ package batch import ( "git.oa00.com/supply-chain/service/client" "git.oa00.com/supply-chain/service/lib/bean" + "git.oa00.com/supply-chain/service/supplier/batch/order" "github.com/shopspring/decimal" "golang.org/x/net/context" ) type Goods struct { goods - order + Order order.Order } type goods struct { diff --git a/supplier/batch/order.go b/supplier/batch/order/order.go similarity index 92% rename from supplier/batch/order.go rename to supplier/batch/order/order.go index 3fb9f40..cd511f4 100644 --- a/supplier/batch/order.go +++ b/supplier/batch/order/order.go @@ -1,4 +1,4 @@ -package batch +package order import ( "git.oa00.com/supply-chain/service/client" @@ -6,6 +6,10 @@ import ( "golang.org/x/net/context" ) +type Order struct { + order +} + type order struct { }