package com.ruoyi.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;

import com.ruoyi.web.domain.entity.PersonHouseRelation;
import com.ruoyi.web.mapper.PersonHouseRelationMapper;
import com.ruoyi.web.service.PersonHouseRelationService;
import org.checkerframework.checker.units.qual.A;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 人员-房屋服务
 */
@Service
public class PersonHouseRelationServiceImpl extends ServiceImpl<PersonHouseRelationMapper, PersonHouseRelation>
    implements PersonHouseRelationService {

    @Autowired
    private PersonHouseRelationMapper personHouseRelationMapper;

    @Override
    public List<String> getName(Integer id) {
       return personHouseRelationMapper.getName(id);
    }
}




