Explorar el Código

修改到docker外运行环境

tags/v1.0.0^2
林万龙 hace 3 años
padre
commit
84df947926
Se han modificado 2 ficheros con 3 adiciones y 3 borrados
  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 fichero

@@ -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 fichero

@@ -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);


Cargando…
Cancelar
Guardar