package com.yeejoin.amos.boot.module.jyjc.biz.result.wrapper;

import com.yeejoin.amos.boot.module.jyjc.api.entity.JyjcInspectionResult;
import com.yeejoin.amos.boot.module.jyjc.biz.result.processor.core.ResultDataProcessor;
import com.yeejoin.amos.boot.module.jyjc.biz.result.factory.support.SupportableResultDataProcessor;

public class ResultDataProcessorWrapper implements ResultDataProcessor {
    private final SupportableResultDataProcessor delegate;

    public ResultDataProcessorWrapper(SupportableResultDataProcessor delegate) {
        this.delegate = delegate;
    }

    @Override
    public void process(JyjcInspectionResult jyjcInspectionResult) {
        delegate.process(jyjcInspectionResult);
    }
}
