| | |
| | | package org.springblade.modules.house.service.impl; |
| | | |
| | | import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper; |
| | | import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
| | | import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; |
| | | import org.springblade.core.secure.utils.AuthUtil; |
| | | import org.springblade.modules.house.dto.UserHouseLabelDTO; |
| | | import org.springblade.modules.house.entity.UserHouseLabelEntity; |
| | | import org.springblade.modules.house.vo.HouseLabelVO; |
| | | import org.springblade.modules.house.mapper.UserHouseLabelMapper; |
| | |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Service; |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 房屋-标签 服务实现类 |
| | |
| | | // 插入 |
| | | return save(houseLabel); |
| | | } |
| | | |
| | | @Override |
| | | public List<Integer> selectUserLabelList(UserHouseLabelDTO userHouseLabelDTO) { |
| | | userHouseLabelDTO.setUserId(AuthUtil.getUserId()); |
| | | List<Integer> list = baseMapper.getUserLabelList(userHouseLabelDTO); |
| | | return list; |
| | | } |
| | | } |