package com.brilliance.isc.common.bop.bopdec.service.imp;

import com.brilliance.isc.common.bopset.service.BopdecRepairService;
import com.brilliance.isc.common.bopset.service.BopgatService;
import com.brilliance.isc.common.bopset.service.BoppayService;
import com.brilliance.isc.common.bopset.service.BopremService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class BopdecRepairServiceImpl implements BopdecRepairService {

    @Autowired
    private BopgatService bopgatService;
    @Autowired
    private BoppayService boppayService;
    @Autowired
    private BopremService bopremService;

    @Override
    public void repairBopdecData(String trninr) {
        bopgatService.repairBopgatData(trninr);
        boppayService.repairBoppayData(trninr);
        bopremService.repairBopremData(trninr);
    }
}
