|
|
@ -25,7 +25,7 @@ public class EventClassServiceImpl extends ServiceImpl<EventClassMapper, EventCl
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public EventClass findByAccidentType(String accidentType) {
|
|
|
|
public EventClass findByAccidentType(String accidentType) {
|
|
|
|
QueryWrapper<EventClass> wrapper = new QueryWrapper<>();
|
|
|
|
QueryWrapper<EventClass> wrapper = new QueryWrapper<>();
|
|
|
|
wrapper.eq("accident_type", accidentType);
|
|
|
|
wrapper.eq("accept_type", accidentType);
|
|
|
|
return baseMapper.selectOne(wrapper);
|
|
|
|
return baseMapper.selectOne(wrapper);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|