feat(shipment): 添加删除混合装运功能

- 实现了 Delete 方法用于删除指定 ID 的混合装运记录
This commit is contained in:
2026-07-23 17:27:36 +08:00
parent 16265f6bc4
commit 9a7cfac480

View File

@@ -57,3 +57,13 @@ func (m *mixed) Gen(ctx context.Context, args ArgsMixedGen) (mixedId int64, err
err = xClient.Call(ctx, "Gen", args, &mixedId)
return
}
// Delete @TITLE 删除
func (m *mixed) Delete(ctx context.Context, mixedId int64) (err error) {
xClient, err := client.GetClient(m)
if err != nil {
return
}
reply := 0
return xClient.Call(ctx, "Delete", mixedId, &reply)
}