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

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.rongwe.scentity.domian.AccidentUserDo;
import com.rongwe.scentity.vo.AccidentUserVo;
import com.rongwei.sfcommon.sys.dao.AccidentUserDao;
import com.rongwei.sfcommon.sys.service.AccidentUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("accidentUserService")
public class AccidentUserServiceImpl extends ServiceImpl<AccidentUserDao, AccidentUserDo> implements AccidentUserService {

    @Autowired
    private AccidentUserDao accidentUserDao;

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



}
