From e7f03acfa5ee4ad4fd6d1ee9e9ae9a5655488f6d Mon Sep 17 00:00:00 2001 From: 101captain <237651143@qq.com> Date: 星期二, 09 十一月 2021 17:04:46 +0800 Subject: [PATCH] 1109修改 --- springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActServiceImpl.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/ComActServiceImpl.java b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActServiceImpl.java index 41cd082..efc18c1 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActServiceImpl.java +++ b/springcloud_k8s_panzhihuazhihuishequ/service_community/src/main/java/com/panzhihua/service_community/service/impl/ComActServiceImpl.java @@ -102,6 +102,10 @@ // } BeanUtils.copyProperties(comActVO, comActDO); +// ComActDO selectOne = comActDAO.selectOne(new QueryWrapper<ComActDO>().lambda().eq(ComActDO::getAccount, account)); +// if (null != selectOne && selectOne.getAccount().equals(comActVO.getAccount())) { +// return R.fail("该登录账号重复,请重新修改"); +// } int update = comActDAO.updateById(comActDO); if (update > 0) { if (a == 1) { @@ -215,6 +219,11 @@ return R.ok(this.comActDAO.getCommunityLists()); } + @Override + public R getWestCommunityLists() { + return R.ok(this.comActDAO.getWestCommunityLists()); + } + /** * 查询社区所有列表 * -- Gitblit v1.7.1