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 e59067f5
authored
Jun 16, 2023
by
丁伟峰
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feat-dingwf-mvp616' into develop
2 parents
d6c9225a
4f8444d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/CapacityQueryServiceImpl.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/WorkbenchServiceImpl.java
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/CapacityQueryServiceImpl.java
View file @
e59067f
...
@@ -130,6 +130,8 @@ public class CapacityQueryServiceImpl implements CapacityQueryService {
...
@@ -130,6 +130,8 @@ public class CapacityQueryServiceImpl implements CapacityQueryService {
}
}
contents
.
add
(
content
);
contents
.
add
(
content
);
}
}
contents
.
stream
().
sorted
(
Comparator
.
comparing
(
CapacityStatQueryRespDTO
.
Content
::
getDate
)).
collect
(
Collectors
.
toList
());
data
.
setContent
(
contents
);
data
.
setContent
(
contents
);
return
Result
.
success
(
data
);
return
Result
.
success
(
data
);
...
...
project-order/src/main/java/com/alibaba/cloud/integration/order/service/impl/WorkbenchServiceImpl.java
View file @
e59067f
...
@@ -130,8 +130,12 @@ public class WorkbenchServiceImpl implements WorkbenchService {
...
@@ -130,8 +130,12 @@ public class WorkbenchServiceImpl implements WorkbenchService {
}
}
private
List
<?>
getOrderTips
(
String
orderId
)
{
private
List
<?>
getOrderTips
(
String
orderId
)
{
log
.
info
(
"==> getOrder
t
ips: orderId[{}]"
,
orderId
);
log
.
info
(
"==> getOrder
T
ips: orderId[{}]"
,
orderId
);
OrderRequestEntity
order
=
orderRequestDao
.
getByOrderId
(
orderId
);
OrderRequestEntity
order
=
orderRequestDao
.
getByOrderId
(
orderId
);
if
(
order
==
null
)
{
log
.
error
(
"对应的订单不存在!{}"
,
orderId
);
return
null
;
}
List
<
LabelValueDTO
>
tips
=
new
ArrayList
<>();
List
<
LabelValueDTO
>
tips
=
new
ArrayList
<>();
tips
.
add
(
new
LabelValueDTO
().
setLabel
(
"工单号码"
).
setValue
(
orderId
));
tips
.
add
(
new
LabelValueDTO
().
setLabel
(
"工单号码"
).
setValue
(
orderId
));
tips
.
add
(
new
LabelValueDTO
().
setLabel
(
"类型/品牌"
).
setValue
(
String
.
format
(
"%s %s"
,
order
.
getBrand
(),
order
.
getType
())));
tips
.
add
(
new
LabelValueDTO
().
setLabel
(
"类型/品牌"
).
setValue
(
String
.
format
(
"%s %s"
,
order
.
getBrand
(),
order
.
getType
())));
...
...
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