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

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rongwe.scentity.domian.AccidentObjectDo;
import com.rongwei.sfcommon.sys.dao.AccidentObjectDao;
import com.rongwei.sfcommon.sys.service.AccidentObjectService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("accidentObjectService")
public class AccidentObjectServiceImpl extends ServiceImpl<AccidentObjectDao, AccidentObjectDo> implements AccidentObjectService {

    @Autowired
    private AccidentObjectDao accidentObjectDao;

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



}
