| | |
| | | if(count==0){ |
| | | SysUserInputDO sysUserInputDO=new SysUserInputDO(); |
| | | String doorNumber = eexcelUserDTO.getDoorNumber(); |
| | | List<ComMngStructHouseVO> collect = comMngStructHouseVOS1.stream().filter(comMngStructHouseVO -> comMngStructHouseVO.getHouseName().equals(doorNumber)).collect(Collectors.toList()); |
| | | if (ObjectUtils.isEmpty(collect)) { |
| | | throw new ServiceException("门牌号后台不存在或格式错误,错误门牌号为"+doorNumber); |
| | | }else{ |
| | | sysUserInputDO.setHouseCode(collect.get(0).getHouseCode()); |
| | | } |
| | | //暂时注释门牌号匹配设置房屋编号功能 |
| | | // List<ComMngStructHouseVO> collect = comMngStructHouseVOS1.stream().filter(comMngStructHouseVO -> comMngStructHouseVO.getHouseName().equals(doorNumber)).collect(Collectors.toList()); |
| | | // if (ObjectUtils.isEmpty(collect)) { |
| | | // throw new ServiceException("门牌号后台不存在或格式错误,错误门牌号为"+doorNumber); |
| | | // }else{ |
| | | // sysUserInputDO.setHouseCode(collect.get(0).getHouseCode()); |
| | | // } |
| | | sysUserInputDO.setAreaId(comMngStructAreaVO.getId()); |
| | | sysUserInputDO.setCommunityId(comMngStructAreaVO.getCommunityId()); |
| | | sysUserInputDO.setCompany(eexcelUserDTO.getCompany()); |
| | |
| | | SysUserInputDO userInputDO=new SysUserInputDO(); |
| | | userInputDO.setId(inputUserTagsDTO.getId()); |
| | | userInputDO.setTags(inputUserTagsDTO.getTags()); |
| | | List<SysUserInputDO> all = sysUserInputDAO.selectList(new QueryWrapper<SysUserInputDO>().lambda().eq(SysUserInputDO::getIdCard,userInputDO.getIdCard())); |
| | | List<SysUserInputDO> all = sysUserInputDAO.selectList(new QueryWrapper<SysUserInputDO>().lambda().eq(SysUserInputDO::getId,userInputDO.getId())); |
| | | all.forEach(d->{ |
| | | if(!StringUtils.isEmpty(d.getTags())){ |
| | | d.setTags(d.getTags()+","+inputUserTagsDTO.getTags()); |