| | |
| | | List<FirmInfoVO> firmInfoVOS = baseMapper.selectFirmInfoPage(page, firmInfo); |
| | | for (FirmInfoVO firmInfoVO : firmInfoVOS) { |
| | | if (!Strings.isBlank(firmInfoVO.getCategory())){ |
| | | firmInfoVO.setCategoryName( |
| | | DictBizCache.getValues("industry_category",firmInfoVO.getCategory()) |
| | | ); |
| | | firmInfoVO.setCategoryName(firmInfoVO.getCategory()); |
| | | } |
| | | } |
| | | return page.setRecords(firmInfoVOS); |
| | |
| | | // 数据转换 |
| | | FirmInfo firmInfo = Objects.requireNonNull(BeanUtil.copy(firmInfoExcel, FirmInfo.class)); |
| | | // 经纬度转换 |
| | | positionConvert(firmInfo); |
| | | // positionConvert(firmInfo); |
| | | // 判断信息是否已录入 |
| | | FirmInfo oldFirmInfo = isSave(firmInfo); |
| | | // 已存在并且不更新 |