From 73acd2a65a5dbab4573ef2a93a258c0da177bcd3 Mon Sep 17 00:00:00 2001
From: 张天森 <1292933220@qq.com>
Date: 星期四, 17 十一月 2022 11:58:38 +0800
Subject: [PATCH] 普达物业公司权限处理
---
springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPropertyServiceImpl.java | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPropertyServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPropertyServiceImpl.java
index 0761c74..cc03b14 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPropertyServiceImpl.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPropertyServiceImpl.java
@@ -60,9 +60,15 @@
if (isNotBlank(comPropertyVO.getAccount())) {
AdministratorsUserVO administratorsUserVO=new AdministratorsUserVO();
administratorsUserVO.setType(3);
+ if (comPropertyVO.getCommunityId().equals(10172)){
+ administratorsUserVO.setType(20);
+ }
administratorsUserVO.setAccount(comPropertyVO.getAccount());
administratorsUserVO.setPassword(comPropertyVO.getPassword());
administratorsUserVO.setRoleId(comPropertyVO.getRoleId());
+ if (comPropertyVO.getCommunityId().equals(10172)){
+ administratorsUserVO.setRoleId(1559112102373756111L);
+ }
administratorsUserVO.setCommunityId(comPropertyVO.getCommunityId());
administratorsUserVO.setAreaId(comPropertyVO.getAreaId());
administratorsUserVO.setName(comPropertyVO.getContactName());
@@ -142,4 +148,9 @@
comPropertyVO.setPassword(null);
return R.ok(comPropertyVO);
}
+
+ @Override
+ public R noticeList(Integer page, Integer size, Long propertyId) {
+ return R.ok(comPropertyDao.noticeList(new Page(page,size),propertyId));
+ }
}
--
Gitblit v1.7.1