| | |
| | | List<ComMngUserTagDO> comMngUserTagDOS = comMngUserTagDAO |
| | | .selectList(null); |
| | | if (!ObjectUtils.isEmpty(comMngUserTagDOS)) { |
| | | list = comMngUserTagDOS.stream().map(comMngUserTagDO -> comMngUserTagDO.getTagName()) |
| | | .collect(Collectors.toList()); |
| | | for (ComMngUserTagDO comMngUserTagDO : comMngUserTagDOS) { |
| | | if (!list.contains(comMngUserTagDO.getTagName())) { |
| | | list.add(comMngUserTagDO.getTagName()); |
| | | } |
| | | } |
| | | // list = comMngUserTagDOS.stream().map(comMngUserTagDO -> comMngUserTagDO.getTagName()) |
| | | // .collect(Collectors.toList()); |
| | | } |
| | | return R.ok(list); |
| | | } |