From 3501ca8469b1a09f22cf0d3dbbe1adf331ea814a Mon Sep 17 00:00:00 2001
From: lin <sbla5888@163.com>
Date: Tue, 27 Feb 2024 17:35:23 +0800
Subject: [PATCH] 圈子敏感信息校验

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

diff --git a/src/main/java/org/springblade/modules/property/service/impl/PropertyCompanyServiceImpl.java b/src/main/java/org/springblade/modules/property/service/impl/PropertyCompanyServiceImpl.java
index 2b3c36d..0c24ca5 100644
--- a/src/main/java/org/springblade/modules/property/service/impl/PropertyCompanyServiceImpl.java
+++ b/src/main/java/org/springblade/modules/property/service/impl/PropertyCompanyServiceImpl.java
@@ -41,6 +41,8 @@
 import org.springblade.modules.property.service.IPropertyDistrictUserService;
 import org.springblade.modules.property.vo.PropertyCompanyDetailVO;
 import org.springblade.modules.property.vo.PropertyCompanyVO;
+import org.springblade.core.mp.base.BaseServiceImpl;
+import org.springblade.modules.property.vo.PropertyDistrictInfo;
 import org.springblade.modules.system.entity.Dept;
 import org.springblade.modules.system.entity.User;
 import org.springblade.modules.system.entity.UserDept;
@@ -207,7 +209,8 @@
 	public PropertyCompanyDetailVO getPayConfig(PropertyCompanyVO propertyCompany) {
 
 
-		PropertyCompanyDetailVO detail = this.getDetail(propertyCompany);
+//		PropertyCompanyDetailVO detail = this.getDetail(propertyCompany);
+		PropertyCompanyDetailVO detail = baseMapper.getDetailVO(propertyCompany);
 
 
 		AliPayInfo pA = new AliPayInfo();
@@ -234,9 +237,14 @@
 			IPropertyCompanyService bean = SpringUtil.getBean(IPropertyCompanyService.class);
 			PropertyCompanyEntity propertyCompanyEntity = bean.getOne(Wrappers.<PropertyCompanyEntity>lambdaQuery().eq(PropertyCompanyEntity::getDeptId, AuthUtil.getDeptId()));
 			if (propertyCompanyEntity != null) {
-				return baseMapper.getDetail(BeanUtil.copyProperties(propertyCompanyEntity, PropertyCompanyVO.class));
+				return baseMapper.getDetailVO(BeanUtil.copyProperties(propertyCompanyEntity, PropertyCompanyVO.class));
 			}
 		}
 		return null;
 	}
+
+	@Override
+	public PropertyDistrictInfo getPropertyDistrictInfo(PropertyDistrictInfo propertyDistrictInfo) {
+		return baseMapper.getPropertyDistrictInfo(propertyDistrictInfo);
+	}
 }

--
Gitblit v1.9.3