linwe
2024-05-29 c10d6358b9f014375a13821465bc978d0c0da22e
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);
   }
}