springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/service/user/UserService.java
@@ -828,7 +828,7 @@ * @return 标签集合 */ @PostMapping("listtag/getTag") R listTags(@RequestParam("communityId") Long communityId); R listTags(); /** * 添加SysUser信息 springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/api/UserApi.java
@@ -204,8 +204,8 @@ * @return 标签集合 */ @PostMapping("listtag/getTag") public R listTags(@RequestParam("communityId") Long communityId) { return userService.listTags(communityId); public R listTags() { return userService.listTags(); } /** springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/UserService.java
@@ -514,7 +514,7 @@ * * @return 标签集合 */ R listTags(Long communityId); R listTags(); /** * 通过账号查询用户信息 springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/SysUserInputServiceImpl.java
@@ -361,12 +361,12 @@ comMngUserTagDAO.updateById(comMngUserTagDO); } else { ComMngUserTagDO comMngUserTagDO = comMngUserTagDAO.getSpecialInputUserTagsByVO(comMngTagVO); if (comMngUserTagDO != null && comMngUserTagDO.getCommunityId().equals(comMngTagVO.getCommunityId())) { if (comMngUserTagDO != null) { return R.fail("标签重复"); } ComMngUserTagDO comMngUserTagDO1 = new ComMngUserTagDO(); comMngUserTagDO1.setTagName(comMngTagVO.getTagName()); comMngUserTagDO1.setCommunityId(comMngTagVO.getCommunityId()); // comMngUserTagDO1.setCommunityId(comMngTagVO.getCommunityId()); comMngUserTagDO1.setSysFlag(0); comMngUserTagDO1.setCreateAt(new Date()); comMngUserTagDAO.insert(comMngUserTagDO1); springcloud_k8s_panzhihuazhihuishequ/service_user/src/main/java/com/panzhihua/service_user/service/impl/UserServiceImpl.java
@@ -1834,10 +1834,10 @@ * @return 标签集合 */ @Override public R listTags(Long communityId) { public R listTags() { List<String> list = new ArrayList<>(); List<ComMngUserTagDO> comMngUserTagDOS = comMngUserTagDAO .selectList(new QueryWrapper<ComMngUserTagDO>().eq("sys_flag", 1).or().eq("community_id", communityId)); .selectList(null); if (!ObjectUtils.isEmpty(comMngUserTagDOS)) { list = comMngUserTagDOS.stream().map(comMngUserTagDO -> comMngUserTagDO.getTagName()) .collect(Collectors.toList());