Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
yangxiujun
/
paidan_demo
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit a66a2a2c
authored
Nov 14, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(预约单进度查询): 经纬度错误
1 parent
dfbe8406
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderCreateServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderCreateServiceImpl.java
View file @
a66a2a2
...
@@ -199,7 +199,7 @@ public class OrderCreateServiceImpl implements OrderCreateService {
...
@@ -199,7 +199,7 @@ public class OrderCreateServiceImpl implements OrderCreateService {
OrderDTO
.
Estimate
estimate
=
new
OrderDTO
.
Estimate
();
OrderDTO
.
Estimate
estimate
=
new
OrderDTO
.
Estimate
();
// 计算两点间距离
// 计算两点间距离
double
distance
=
Stapial4jUtil
.
getDistance
(
location
.
getL
atitude
(),
location
.
getLong
itude
(),
double
distance
=
Stapial4jUtil
.
getDistance
(
location
.
getL
ongitude
(),
location
.
getLat
itude
(),
Double
.
parseDouble
(
orderInfo
.
getX
()),
Double
.
parseDouble
(
orderInfo
.
getY
()));
Double
.
parseDouble
(
orderInfo
.
getX
()),
Double
.
parseDouble
(
orderInfo
.
getY
()));
estimate
.
setDistance
(
distance
);
estimate
.
setDistance
(
distance
);
...
...
Write
Preview
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment