添加订舱单克隆

This commit is contained in:
守护自己的云 2025-03-07 13:42:40 +08:00
parent b0c346a83b
commit d1957b9228

View File

@ -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
}