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 8cb5ddae
authored
Jul 11, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
接口变更
1 parent
4a3cbbe7
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 @
8cb5dda
...
...
@@ -30,6 +30,6 @@ public class OrderServiceListReq {
private
List
<
String
>
serviceCategory
;
private
String
phone
;
private
String
orderId
;
private
String
appointmentStatus
;
private
String
appointmentType
;
private
List
<
String
>
appointmentStatus
;
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 @
8cb5dda
...
...
@@ -59,13 +59,8 @@ public class OrderServiceListServiceImpl implements OrderServiceListService {
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:
:
getSkill
,
reqDTO
.
getServiceCategory
());
lqw
.
eq
(
StringUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentType
()),
OrderRequest:
:
getAppointmentMethod
,
reqDTO
.
getAppointmentType
());
//指派状态
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"
);
}
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentType
()),
OrderRequest:
:
getAppointmentMethod
,
reqDTO
.
getAppointmentType
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentStatus
()),
OrderRequest:
:
getAppointmentStatus
,
reqDTO
.
getAppointmentStatus
());
if
(
ListUtils
.
isNotEmpty
(
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