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 9b6b05ef
authored
Jul 14, 2023
by
王力
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_bugfix_dispatch' into 'develop'
修改 See merge request !246
2 parents
eb3955cb
626108ab
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/DispatchServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/WorkbenchServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/DispatchServiceImpl.java
View file @
9b6b05e
...
@@ -276,6 +276,7 @@ public class DispatchServiceImpl implements DispatchService {
...
@@ -276,6 +276,7 @@ public class DispatchServiceImpl implements DispatchService {
private
List
<
OrderRequest
>
queryOrderRequests
(
DispatchOrderListReq
reqDTO
)
{
private
List
<
OrderRequest
>
queryOrderRequests
(
DispatchOrderListReq
reqDTO
)
{
// 获取服务单列表
// 获取服务单列表
LambdaQueryWrapper
<
OrderRequest
>
lqw
=
new
LambdaQueryWrapper
<>();
LambdaQueryWrapper
<
OrderRequest
>
lqw
=
new
LambdaQueryWrapper
<>();
lqw
.
eq
(
OrderRequest:
:
getAppointmentStatus
,
"NOT_ASSIGNED"
);
lqw
.
eq
(
reqDTO
.
getLevelType
().
equals
(
"cluster"
),
OrderRequest:
:
getOrgClusterId
,
reqDTO
.
getLevelValue
());
lqw
.
eq
(
reqDTO
.
getLevelType
().
equals
(
"cluster"
),
OrderRequest:
:
getOrgClusterId
,
reqDTO
.
getLevelValue
());
lqw
.
eq
(
reqDTO
.
getLevelType
().
equals
(
"branch"
),
OrderRequest:
:
getOrgBranchId
,
reqDTO
.
getLevelValue
());
lqw
.
eq
(
reqDTO
.
getLevelType
().
equals
(
"branch"
),
OrderRequest:
:
getOrgBranchId
,
reqDTO
.
getLevelValue
());
lqw
.
eq
(
reqDTO
.
getLevelType
().
equals
(
"group"
),
OrderRequest:
:
getOrgGroupId
,
reqDTO
.
getLevelValue
());
lqw
.
eq
(
reqDTO
.
getLevelType
().
equals
(
"group"
),
OrderRequest:
:
getOrgGroupId
,
reqDTO
.
getLevelValue
());
...
@@ -287,7 +288,6 @@ public class DispatchServiceImpl implements DispatchService {
...
@@ -287,7 +288,6 @@ public class DispatchServiceImpl implements DispatchService {
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getGroupIds
()),
OrderRequest:
:
getOrgGroupId
,
reqDTO
.
getGroupIds
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getGroupIds
()),
OrderRequest:
:
getOrgGroupId
,
reqDTO
.
getGroupIds
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getTeamIds
()),
OrderRequest:
:
getOrgTeamId
,
reqDTO
.
getTeamIds
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getTeamIds
()),
OrderRequest:
:
getOrgTeamId
,
reqDTO
.
getTeamIds
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentType
()),
OrderRequest:
:
getAppointmentMethod
,
reqDTO
.
getAppointmentType
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentType
()),
OrderRequest:
:
getAppointmentMethod
,
reqDTO
.
getAppointmentType
());
lqw
.
in
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getAppointmentStatus
()),
OrderRequest:
:
getAppointmentStatus
,
reqDTO
.
getAppointmentStatus
());
if
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getPriorities
()))
{
if
(
ListUtils
.
isNotEmpty
(
reqDTO
.
getPriorities
()))
{
List
<
Integer
>
p
=
reqDTO
.
getPriorities
();
List
<
Integer
>
p
=
reqDTO
.
getPriorities
();
...
...
project-order/src/main/java/com/dituhui/pea/order/service/impl/WorkbenchServiceImpl.java
View file @
9b6b05e
...
@@ -190,7 +190,7 @@ public class WorkbenchServiceImpl implements WorkbenchService {
...
@@ -190,7 +190,7 @@ public class WorkbenchServiceImpl implements WorkbenchService {
private
List
<
WorkbenchSummaryResp
.
ValueDTO
>
packValueOrderStatus
(
HashMap
<
String
,
Long
>
summary
)
{
private
List
<
WorkbenchSummaryResp
.
ValueDTO
>
packValueOrderStatus
(
HashMap
<
String
,
Long
>
summary
)
{
List
<
WorkbenchSummaryResp
.
ValueDTO
>
items
=
new
ArrayList
<>();
List
<
WorkbenchSummaryResp
.
ValueDTO
>
items
=
new
ArrayList
<>();
String
urlName
=
"
DispatchBenchManage"
;
String
urlName
=
"
"
;
// 不返回,前端就不跳转了
Long
assigned
=
summary
.
getOrDefault
(
"ASSIGNED"
,
0L
);
Long
assigned
=
summary
.
getOrDefault
(
"ASSIGNED"
,
0L
);
Long
contacted
=
summary
.
getOrDefault
(
"CONTACTED"
,
0L
);
Long
contacted
=
summary
.
getOrDefault
(
"CONTACTED"
,
0L
);
Long
departed
=
summary
.
getOrDefault
(
"DEPARTED"
,
0L
);
Long
departed
=
summary
.
getOrDefault
(
"DEPARTED"
,
0L
);
...
...
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