Ver código fonte

修改到docker外运行环境

tags/v1.0.0^2
林万龙 3 anos atrás
pai
commit
84df947926
2 arquivos alterados com 3 adições e 3 exclusões
  1. +1
    -1
      src/main/java/com/telpo/dipperposition/service/IProvinceInfoService.java
  2. +2
    -2
      src/main/java/com/telpo/dipperposition/service/impl/ProvinceInfoServiceImpl.java

+ 1
- 1
src/main/java/com/telpo/dipperposition/service/IProvinceInfoService.java Ver arquivo

@@ -45,7 +45,7 @@ public interface IProvinceInfoService {
* @param ipAddress
* 获取省份经纬度信息
*/
ProvinceInfoEntity getProvinceInfo(String ipAddress);
ProvinceInfoEntity getProvinceInfo(String provicne);

/**
* 获取省份经纬度信息


+ 2
- 2
src/main/java/com/telpo/dipperposition/service/impl/ProvinceInfoServiceImpl.java Ver arquivo

@@ -44,10 +44,10 @@ public class ProvinceInfoServiceImpl implements IProvinceInfoService {
}

@Override
public ProvinceInfoEntity getProvinceInfo(String centerAddress) {
public ProvinceInfoEntity getProvinceInfo(String provicne) {
try {
ProvinceInfoEntity query = new ProvinceInfoEntity();
query.setCenterAddress(centerAddress);
query.setProvince(provicne);
List<ProvinceInfoEntity> records = provinceInfoMapper.queryIpList(query);
if (ObjectUtils.isNotEmpty(records)) {
return records.get(0);


Carregando…
Cancelar
Salvar