Authored by mali

地址的调整

... ... @@ -62,8 +62,12 @@ public class AreaService {
return getAddressInfoByErp(codeList.get(3), codeList);
}
LOGGER.info("method selectByCodeList in codeList is {}", codeList);
List<Area> areaList = areaMapper.selectByCodeList(codeList);
Map<Integer, String> areaMap = areaList.stream().collect(Collectors.toMap(Area::getId, Area::getCaption));
LOGGER.info("method selectByCodeList out areaList is {}", areaList);
return areaMap;
}
... ...