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 3e686d04
authored
Jul 12, 2023
by
wangli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bugfix
1 parent
2a7ea8b9
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
6 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/ScheduleServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/ScheduleServiceImpl.java
View file @
3e686d0
...
@@ -310,7 +310,8 @@ public class ScheduleServiceImpl implements ScheduleService {
...
@@ -310,7 +310,8 @@ public class ScheduleServiceImpl implements ScheduleService {
List
<
Map
<
String
,
Object
>>
results
=
orderRequestMPDao
.
selectMaps
(
wrapper
);
List
<
Map
<
String
,
Object
>>
results
=
orderRequestMPDao
.
selectMaps
(
wrapper
);
for
(
Map
<
String
,
Object
>
result
:
results
)
{
for
(
Map
<
String
,
Object
>
result
:
results
)
{
String
skill
=
(
String
)
result
.
get
(
"skill"
);
String
skill
=
(
String
)
result
.
get
(
"skill"
);
Integer
count
=
(
Integer
)
result
.
get
(
"count"
);
Long
countValue
=
(
Long
)
result
.
get
(
"count"
);
Integer
count
=
countValue
.
intValue
();
String
skillCategory
=
skillMap
.
get
(
skill
);
String
skillCategory
=
skillMap
.
get
(
skill
);
Integer
value
=
map
.
getOrDefault
(
skillCategory
,
0
);
Integer
value
=
map
.
getOrDefault
(
skillCategory
,
0
);
...
@@ -336,7 +337,8 @@ public class ScheduleServiceImpl implements ScheduleService {
...
@@ -336,7 +337,8 @@ public class ScheduleServiceImpl implements ScheduleService {
List
<
Map
<
String
,
Object
>>
results
=
orderRequestMPDao
.
selectMaps
(
wrapper
);
List
<
Map
<
String
,
Object
>>
results
=
orderRequestMPDao
.
selectMaps
(
wrapper
);
for
(
Map
<
String
,
Object
>
result
:
results
)
{
for
(
Map
<
String
,
Object
>
result
:
results
)
{
String
groupId
=
(
String
)
result
.
get
(
"org_group_id"
);
String
groupId
=
(
String
)
result
.
get
(
"org_group_id"
);
Integer
count
=
(
Integer
)
result
.
get
(
"count"
);
Long
countValue
=
(
Long
)
result
.
get
(
"count"
);
Integer
count
=
countValue
.
intValue
();
Integer
groupCategory
=
groupCategoryMapping
.
get
(
groupId
);
Integer
groupCategory
=
groupCategoryMapping
.
get
(
groupId
);
Integer
value
=
map
.
getOrDefault
(
groupCategory
,
0
);
Integer
value
=
map
.
getOrDefault
(
groupCategory
,
0
);
...
@@ -364,15 +366,17 @@ public class ScheduleServiceImpl implements ScheduleService {
...
@@ -364,15 +366,17 @@ public class ScheduleServiceImpl implements ScheduleService {
for
(
Map
<
String
,
Object
>
result
:
results
)
{
for
(
Map
<
String
,
Object
>
result
:
results
)
{
String
method
=
(
String
)
result
.
get
(
"appointment_method"
);
String
method
=
(
String
)
result
.
get
(
"appointment_method"
);
String
status
=
(
String
)
result
.
get
(
"appointment_status"
);
String
status
=
(
String
)
result
.
get
(
"appointment_status"
);
Integer
count
=
(
Integer
)
result
.
get
(
"count"
);
Long
countValue
=
(
Long
)
result
.
get
(
"count"
);
int
count
=
countValue
.
intValue
();
if
(
status
.
equals
(
"NOT_ASSIGNED"
))
{
if
(
status
.
equals
(
"NOT_ASSIGNED"
))
{
notAssignTotal
+=
1
;
notAssignTotal
+=
count
;
continue
;
continue
;
}
}
if
(
method
.
equals
(
"MANUAL"
))
{
if
(
method
.
equals
(
"MANUAL"
))
{
manualTotal
+=
1
;
manualTotal
+=
count
;
}
else
{
}
else
{
autoTotal
+=
1
;
autoTotal
+=
count
;
}
}
}
}
map
.
put
(
"autoTotal"
,
autoTotal
);
map
.
put
(
"autoTotal"
,
autoTotal
);
...
...
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