| | |
| | | list.forEach(vo -> { |
| | | int count = comMngCarDAO.selectCount(new QueryWrapper<ComMngCarDO>().lambda() |
| | | .eq(ComMngCarDO::getPlateNum, vo.getPlateNum()).and(wrapper -> wrapper.eq(ComMngCarDO::getSource, 2))); |
| | | if (count == 0 && areaMap.containsKey(vo.getAreaName())) { |
| | | ComMngCarDO comMngCarDO = new ComMngCarDO(); |
| | | BeanUtils.copyProperties(vo, comMngCarDO); |
| | | ComMngCarDO comMngCarDO = new ComMngCarDO(); |
| | | BeanUtils.copyProperties(vo, comMngCarDO); |
| | | if (count == 0 ) { |
| | | if(StringUtils.isNotEmpty(vo.getAreaName())&&areaMap.containsKey(vo.getAreaName())){ |
| | | comMngCarDO.setAreaId(areaMap.get(vo.getAreaName()).getVillageId()); |
| | | } |
| | | try { |
| | | comMngCarDO.setCardNo(AESUtil.encrypt128(vo.getCardNo(), aesKey)); |
| | | } catch (Exception e) { |
| | | |
| | | } |
| | | comMngCarDO.setCommunityId(communityId); |
| | | comMngCarDO.setAreaId(areaMap.get(vo.getAreaName()).getVillageId()); |
| | | R<SysUserVO> sysUserVOR = userService.getSysUserVOByPhone(vo.getMobile()); |
| | | if (R.isOk(sysUserVOR)) { |
| | | SysUserVO sysUserVO = |