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 b8e72486
authored
Jun 14, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
2 parents
ff73274e
b360f624
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
4 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/dto/DispatchEngineerOrderListResp.java
project-order/src/main/java/com/alibaba/cloud/integration/order/entity/CapacityEngineerStat.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/DispatchServiceImpl.java
project-order/src/main/java/com/alibaba/cloud/integration/order/dto/DispatchEngineerOrderListResp.java
View file @
b8e7248
...
...
@@ -15,7 +15,7 @@ public class DispatchEngineerOrderListResp {
private
String
engineerName
;
private
String
capacity
;
private
String
capacityStatus
;
private
String
certificat
e
;
private
String
grad
e
;
private
List
<
OrderInfo
>
orders
;
}
@Data
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/entity/CapacityEngineerStat.java
View file @
b8e7248
...
...
@@ -7,7 +7,7 @@ import java.sql.Timestamp;
@Data
public
class
CapacityEngineerStat
{
private
long
id
;
private
String
work
D
ay
;
private
String
work
d
ay
;
private
String
engineerCode
;
private
Integer
capTotal
;
private
Integer
capUsed
;
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/DispatchServiceImpl.java
View file @
b8e7248
...
...
@@ -178,7 +178,7 @@ public class DispatchServiceImpl implements DispatchService {
eg
.
setOrders
(
items
);
eg
.
setEngineerCode
(
e
.
getEngineerCode
());
eg
.
setEngineerName
(
e
.
getName
());
eg
.
set
Certificate
(
e
.
getCredentials
());
eg
.
set
Grade
(
e
.
getGrade
());
eg
.
setCapacity
(
String
.
format
(
"%d/%d"
,
capUsed
,
capTotal
));
eg
.
setCapacityStatus
(
capacityStatus
);
...
...
@@ -266,7 +266,7 @@ public class DispatchServiceImpl implements DispatchService {
private
HashMap
<
String
,
CapacityEngineerStat
>
queryCapacityEngineerStat
(
List
<
String
>
engineerCodes
,
String
date
)
{
LambdaQueryWrapper
<
CapacityEngineerStat
>
lqw
=
new
LambdaQueryWrapper
<>();
lqw
.
eq
(
CapacityEngineerStat:
:
getWork
D
ay
,
date
);
lqw
.
eq
(
CapacityEngineerStat:
:
getWork
d
ay
,
date
);
lqw
.
in
(
CapacityEngineerStat:
:
getEngineerCode
,
engineerCodes
);
List
<
CapacityEngineerStat
>
records
=
capacityEngineerStatMPDao
.
selectList
(
lqw
);
...
...
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