package com.rongwei.sfcommon.sys.service.impl;

import com.rongwe.scentity.domian.AccidentTrackPlanDo;
import com.rongwe.scentity.vo.AccidentTrackPlanVo;
import com.rongwei.sfcommon.sys.dao.AccidentObjectDao;
import com.rongwei.sfcommon.sys.dao.AccidentTrackPlanDao;
import com.rongwei.sfcommon.sys.service.AccidentTrackPlanService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import java.util.List;

@Service("accidentTrackPlanService")
public class AccidentTrackPlanServiceImpl extends ServiceImpl<AccidentTrackPlanDao, AccidentTrackPlanDo> implements AccidentTrackPlanService {

    @Autowired
    private AccidentTrackPlanDao accidentTrackPlanDao;


    @Override
    public List<AccidentTrackPlanVo> getByAccidentId(String id) {
        return accidentTrackPlanDao.getByAccidentId(id);
    }
}
