From 8b7258c9427882bb1798f1502eaa35184c6e374e Mon Sep 17 00:00:00 2001
From: linwe <872216996@qq.com>
Date: Fri, 09 Aug 2024 14:29:18 +0800
Subject: [PATCH] 短信指定楼栋发送

---
 src/main/java/org/springblade/modules/property/service/impl/PropertyDistrictUserServiceImpl.java |   10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/springblade/modules/property/service/impl/PropertyDistrictUserServiceImpl.java b/src/main/java/org/springblade/modules/property/service/impl/PropertyDistrictUserServiceImpl.java
index ff7aa12..de73c4c 100644
--- a/src/main/java/org/springblade/modules/property/service/impl/PropertyDistrictUserServiceImpl.java
+++ b/src/main/java/org/springblade/modules/property/service/impl/PropertyDistrictUserServiceImpl.java
@@ -16,6 +16,7 @@
  */
 package org.springblade.modules.property.service.impl;
 
+import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import org.springblade.modules.property.entity.PropertyDistrictUserEntity;
 import org.springblade.modules.property.vo.PropertyDistrictUserVO;
 import org.springblade.modules.property.mapper.PropertyDistrictUserMapper;
@@ -24,6 +25,8 @@
 import org.springframework.stereotype.Service;
 import com.baomidou.mybatisplus.core.metadata.IPage;
 
+import java.util.List;
+
 /**
  * 物业公司人员派驻小区关联表 服务实现类
  *
@@ -31,12 +34,15 @@
  * @since 2023-11-23
  */
 @Service
-public class PropertyDistrictUserServiceImpl extends BaseServiceImpl<PropertyDistrictUserMapper, PropertyDistrictUserEntity> implements IPropertyDistrictUserService {
+public class PropertyDistrictUserServiceImpl extends ServiceImpl<PropertyDistrictUserMapper, PropertyDistrictUserEntity> implements IPropertyDistrictUserService {
 
 	@Override
 	public IPage<PropertyDistrictUserVO> selectPropertyDistrictUserPage(IPage<PropertyDistrictUserVO> page, PropertyDistrictUserVO propertyDistrictUser) {
 		return page.setRecords(baseMapper.selectPropertyDistrictUserPage(page, propertyDistrictUser));
 	}
 
-
+	@Override
+	public List<String> selectPropertyDistrictByUserId(Long userId) {
+		return baseMapper.selectPropertyDistrictByUserId(userId);
+	}
 }

--
Gitblit v1.9.3