|
@@ -44,10 +44,10 @@ public class ProvinceInfoServiceImpl implements IProvinceInfoService { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
public ProvinceInfoEntity getProvinceInfo(String centerAddress) { |
|
|
|
|
|
|
|
|
public ProvinceInfoEntity getProvinceInfo(String provicne) { |
|
|
try { |
|
|
try { |
|
|
ProvinceInfoEntity query = new ProvinceInfoEntity(); |
|
|
ProvinceInfoEntity query = new ProvinceInfoEntity(); |
|
|
query.setCenterAddress(centerAddress); |
|
|
|
|
|
|
|
|
query.setProvince(provicne); |
|
|
List<ProvinceInfoEntity> records = provinceInfoMapper.queryIpList(query); |
|
|
List<ProvinceInfoEntity> records = provinceInfoMapper.queryIpList(query); |
|
|
if (ObjectUtils.isNotEmpty(records)) { |
|
|
if (ObjectUtils.isNotEmpty(records)) { |
|
|
return records.get(0); |
|
|
return records.get(0); |
|
|