添加订舱单克隆
This commit is contained in:
parent
b0c346a83b
commit
d1957b9228
@ -242,3 +242,19 @@ func (s *shipment) Cancel(ctx context.Context, shipmentId int64) (err error) {
|
||||
err = xClient.Call(ctx, "Cancel", shipmentId, &reply)
|
||||
return
|
||||
}
|
||||
|
||||
type ArgsShipmentClone struct {
|
||||
StaffId int64 // 员工id
|
||||
ShipmentId int64 // shipmentId
|
||||
InvoiceSerial string // 出运发票号
|
||||
}
|
||||
|
||||
// Clone @TITLE 克隆
|
||||
func (s *shipment) Clone(ctx context.Context, args ArgsShipmentClone) (reply int64, err error) {
|
||||
xClient, err := client.GetClient(s)
|
||||
if err != nil {
|
||||
return
|
||||
}
|
||||
err = xClient.Call(ctx, "Clone", args, &reply)
|
||||
return
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user