finance
parent
367a24617b
commit
b36c4c701e
@ -0,0 +1,27 @@
|
||||
package batch
|
||||
|
||||
import (
|
||||
"git.oa00.com/supply-chain/service/client"
|
||||
"github.com/shopspring/decimal"
|
||||
"golang.org/x/net/context"
|
||||
)
|
||||
|
||||
type order struct {
|
||||
}
|
||||
|
||||
type ArgsOrderFreightFee struct {
|
||||
OrderSn string
|
||||
FreightFee decimal.Decimal
|
||||
FreightFile string
|
||||
}
|
||||
|
||||
// FreightFee @Title 运费处理
|
||||
func (o *order) FreightFee(ctx context.Context, args ArgsOrderFreightFee) (err error) {
|
||||
xClient, err := client.GetClient(o)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
reply := 0
|
||||
err = xClient.Call(ctx, "FreightFee", args, &reply)
|
||||
return
|
||||
}
|
Loading…
Reference in new issue