|
@@ -346,7 +346,7 @@ public class EsProcessEnterpriseServiceImpl extends ServiceImpl<EsProcessEnterpr
|
346
|
if (longitude.scale() > 6) { // 假设精度不能超过6位小数
|
346
|
if (longitude.scale() > 6) { // 假设精度不能超过6位小数
|
347
|
throw new IllegalArgumentException("经度小数位数过多");
|
347
|
throw new IllegalArgumentException("经度小数位数过多");
|
348
|
}
|
348
|
}
|
349
|
- EsNetworkEntry.setLongitude(longitude);
|
|
|
|
|
349
|
+ EsProcessEnterprise.setLongitude(longitude);
|
350
|
} catch (NumberFormatException e) {
|
350
|
} catch (NumberFormatException e) {
|
351
|
throw new NumberFormatException(strings[17] + " 经度格式不正确");
|
351
|
throw new NumberFormatException(strings[17] + " 经度格式不正确");
|
352
|
} catch (IllegalArgumentException e) {
|
352
|
} catch (IllegalArgumentException e) {
|
|
@@ -367,7 +367,7 @@ public class EsProcessEnterpriseServiceImpl extends ServiceImpl<EsProcessEnterpr
|
367
|
if (latitude.scale() > 6) { // 假设精度不能超过6位小数
|
367
|
if (latitude.scale() > 6) { // 假设精度不能超过6位小数
|
368
|
throw new IllegalArgumentException("纬度小数位数过多");
|
368
|
throw new IllegalArgumentException("纬度小数位数过多");
|
369
|
}
|
369
|
}
|
370
|
- EsNetworkEntry.setLatitude(latitude);
|
|
|
|
|
370
|
+ EsProcessEnterprise.setLatitude(latitude);
|
371
|
} catch (NumberFormatException e) {
|
371
|
} catch (NumberFormatException e) {
|
372
|
throw new NumberFormatException(strings[18] + " 纬度格式不正确");
|
372
|
throw new NumberFormatException(strings[18] + " 纬度格式不正确");
|
373
|
} catch (IllegalArgumentException e) {
|
373
|
} catch (IllegalArgumentException e) {
|