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 f465e312
authored
Jul 11, 2023
by
王力
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_rescheduling20230711' into 'develop'
接口变更 See merge request !196
2 parents
337ff787
8cb5ddae
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
9 deletions
project-order/src/main/java/com/dituhui/pea/order/dto/OrderServiceListReq.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderServiceListServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/dto/OrderServiceListReq.java
View file @
f465e31
...
@@ -30,6 +30,6 @@ public class OrderServiceListReq {
...
@@ -30,6 +30,6 @@ public class OrderServiceListReq {
private
List
<
String
>
serviceCategory
;
private
List
<
String
>
serviceCategory
;
private
String
phone
;
private
String
phone
;
private
String
orderId
;
private
String
orderId
;
private
String
appointmentStatus
;
private
List
<
String
>
appointmentStatus
;
private
String
appointmentType
;
private
List
<
String
>
appointmentType
;
}
}
\ No newline at end of file
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderServiceListServiceImpl.java
View file @
f465e31
...
@@ -59,13 +59,8 @@ public class OrderServiceListServiceImpl implements OrderServiceListService {
...
@@ -59,13 +59,8 @@ public class OrderServiceListServiceImpl implements OrderServiceListService {
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getPriorities
()),
OrderRequest:
:
getPriority
,
reqDTO
.
getPriorities
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getPriorities
()),
OrderRequest:
:
getPriority
,
reqDTO
.
getPriorities
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getProductCategory
()),
OrderRequest:
:
getType
,
reqDTO
.
getProductCategory
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getProductCategory
()),
OrderRequest:
:
getType
,
reqDTO
.
getProductCategory
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getProductCategory
()),
OrderRequest:
:
getSkill
,
reqDTO
.
getServiceCategory
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getProductCategory
()),
OrderRequest:
:
getSkill
,
reqDTO
.
getServiceCategory
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentType
()),
OrderRequest:
:
getAppointmentMethod
,
reqDTO
.
getAppointmentType
());
lqw
.
eq
(
StringUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentType
()),
OrderRequest:
:
getAppointmentMethod
,
reqDTO
.
getAppointmentType
());
//指派状态
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentStatus
()),
OrderRequest:
:
getAppointmentStatus
,
reqDTO
.
getAppointmentStatus
());
if
(
StringUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentStatus
())
&&
reqDTO
.
getAppointmentStatus
().
equals
(
"0"
))
{
lqw
.
eq
(
OrderRequest:
:
getAppointmentStatus
,
"NOT_ASSIGNED"
);
}
else
if
(
StringUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentStatus
())
&&
reqDTO
.
getAppointmentStatus
().
equals
(
"1"
))
{
lqw
.
ne
(
OrderRequest:
:
getAppointmentStatus
,
"NOT_ASSIGNED"
);
}
if
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getEngineerCodes
()))
{
if
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getEngineerCodes
()))
{
String
engineerCodes
=
String
.
join
(
","
,
reqDTO
.
getEngineerCodes
());
String
engineerCodes
=
String
.
join
(
","
,
reqDTO
.
getEngineerCodes
());
...
...
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