|
|
|
@ -4,6 +4,7 @@ import (
|
|
|
|
|
"context"
|
|
|
|
|
"git.oa00.com/supply-chain/service/client"
|
|
|
|
|
"git.oa00.com/supply-chain/service/lib/bean"
|
|
|
|
|
_interface "git.oa00.com/supply-chain/service/supply/interface"
|
|
|
|
|
"github.com/shopspring/decimal"
|
|
|
|
|
)
|
|
|
|
|
|
|
|
|
@ -265,3 +266,13 @@ func (o *order) InfoByOrderId(ctx context.Context, orderId uint) (reply InfoByOr
|
|
|
|
|
err = xClient.Call(ctx, "InfoByOrderId", orderId, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
// SubmitData @Title 订单下单数据
|
|
|
|
|
func (o *order) SubmitData(ctx context.Context, orderId int64) (reply _interface.ReplySubmitData, err error) {
|
|
|
|
|
xClient, err := client.GetClient(o)
|
|
|
|
|
if err != nil {
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|
err = xClient.Call(ctx, "SubmitData", orderId, &reply)
|
|
|
|
|
return
|
|
|
|
|
}
|
|
|
|
|