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 bbc31bea
authored
Nov 22, 2023
by
huangjinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:订单返回服务状态
1 parent
65adc43e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
project-order/src/main/java/com/dituhui/pea/order/dto/ScheduleEngineerOverviewResp.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/ScheduleServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/dto/ScheduleEngineerOverviewResp.java
View file @
bbc31be
...
@@ -22,6 +22,7 @@ public class ScheduleEngineerOverviewResp {
...
@@ -22,6 +22,7 @@ public class ScheduleEngineerOverviewResp {
private
String
type
;
private
String
type
;
private
String
skill
;
private
String
skill
;
private
String
orderStatus
;
private
String
orderStatus
;
private
String
serviceStatus
;
private
String
orderStatusName
;
private
String
orderStatusName
;
/**
/**
* 在途公里数
* 在途公里数
...
...
project-order/src/main/java/com/dituhui/pea/order/service/impl/ScheduleServiceImpl.java
View file @
bbc31be
...
@@ -17,6 +17,7 @@ import com.dituhui.pea.order.enums.OrderFlowEnum;
...
@@ -17,6 +17,7 @@ import com.dituhui.pea.order.enums.OrderFlowEnum;
import
com.dituhui.pea.order.enums.VehicleEnum
;
import
com.dituhui.pea.order.enums.VehicleEnum
;
import
com.dituhui.pea.order.service.ScheduleService
;
import
com.dituhui.pea.order.service.ScheduleService
;
import
com.dituhui.pea.order.utils.CommonUtil
;
import
com.dituhui.pea.order.utils.CommonUtil
;
import
com.dituhui.pea.order.utils.OrderUtil
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.data.domain.Page
;
import
org.springframework.data.domain.Page
;
import
org.springframework.data.domain.PageRequest
;
import
org.springframework.data.domain.PageRequest
;
...
@@ -288,7 +289,8 @@ public class ScheduleServiceImpl implements ScheduleService {
...
@@ -288,7 +289,8 @@ public class ScheduleServiceImpl implements ScheduleService {
item
.
setLocation
(
String
.
format
(
"%s,%s"
,
o
.
getX
(),
o
.
getY
()));
item
.
setLocation
(
String
.
format
(
"%s,%s"
,
o
.
getX
(),
o
.
getY
()));
item
.
setType
(
o
.
getType
());
item
.
setType
(
o
.
getType
());
item
.
setSkill
(
o
.
getSkill
());
item
.
setSkill
(
o
.
getSkill
());
item
.
setOrderStatus
(
o
.
getAppointmentStatus
());
item
.
setOrderStatus
(
o
.
getOrderStatus
());
item
.
setServiceStatus
(
OrderUtil
.
handleServiceStatus
(
o
));
item
.
setOrderStatusName
(
""
);
item
.
setOrderStatusName
(
""
);
item
.
setDistance
(
CommonUtil
.
converMToKm
(
o
.
getArriveDistance
()));
item
.
setDistance
(
CommonUtil
.
converMToKm
(
o
.
getArriveDistance
()));
item
.
setTimeType
(
"auto"
);
item
.
setTimeType
(
"auto"
);
...
...
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