| | |
| | | comRehabilitationPopulationDO.setStreetId(populationDO.getStreetId()); |
| | | comRehabilitationPopulationDAO.insert(comRehabilitationPopulationDO); |
| | | } |
| | | |
| | | return populationDO; |
| | | } |
| | | |
| | |
| | | } |
| | | } else { |
| | | //新增 |
| | | Integer count = comMngUserTagDAO.selectCount(new QueryWrapper<ComMngUserTagDO>().lambda().eq(ComMngUserTagDO::getTagName, comMngTagVO.getTagName())); |
| | | Integer count = comMngUserTagDAO.selectCount(new QueryWrapper<ComMngUserTagDO>().lambda().eq(ComMngUserTagDO::getTagName, comMngTagVO.getTagName()) |
| | | .eq(ComMngUserTagDO::getCommunityId, comMngTagVO.getCommunityId())); |
| | | if (count > 0) { |
| | | return R.fail("该标签已存在,标签名称重复"); |
| | | } |