From 3da01b2a6cf247f90aed86fc37d8cb0ab51a4b4c Mon Sep 17 00:00:00 2001 From: yanghui <2536613402@qq.com> Date: 星期二, 29 十一月 2022 15:58:02 +0800 Subject: [PATCH] #feat . --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComPropertyServiceImpl.java | 9 +++++++++ 1 files changed, 9 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..476b59d 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,6 +60,9 @@ 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()); @@ -67,6 +70,7 @@ administratorsUserVO.setAreaId(comPropertyVO.getAreaId()); administratorsUserVO.setName(comPropertyVO.getContactName()); administratorsUserVO.setPhone(comPropertyVO.getPhone()); + administratorsUserVO.setAppid(userService.detailUser(comPropertyVO.getCreateUserId()).getData().getAppId()); R r=userService.addUserBackstageProperty(administratorsUserVO); if(R.isOk(r)){ comProperty.setUserId(Long.parseLong(r.getData().toString())); @@ -142,4 +146,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