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 c39bae2f
authored
Oct 25, 2023
by
chamberone
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 解决工单查询接口错误
1 parent
a34d7847
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
4 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderServiceListServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderServiceListServiceImpl.java
View file @
c39bae2
...
...
@@ -124,10 +124,13 @@ public class OrderServiceListServiceImpl implements OrderServiceListService {
record
.
setDescription
(
o
.
getDescription
());
record
.
setPriority
(
o
.
getPriority
());
record
.
setOrgBranchName
(
branchNames
.
getOrDefault
(
o
.
getOrgBranchId
(),
""
));
// 获取工程师信息
List
<
String
>
names
=
this
.
getOrderEngineerNames
(
o
.
getEngineerCode
(),
o
.
getEngineerCodeSub
(),
engineerNames
);
record
.
setEngineerNum
(
names
.
size
());
//工程师数量
record
.
setEngineerNames
(
String
.
join
(
"、"
,
names
));
//工程师姓名列表
// 获取工程师信息,为派工为空
if
(
StringUtils
.
isNotBlank
(
o
.
getEngineerCode
()))
{
List
<
String
>
names
=
this
.
getOrderEngineerNames
(
o
.
getEngineerCode
(),
o
.
getEngineerCodeSub
(),
engineerNames
);
record
.
setEngineerNum
(
names
.
size
());
//工程师数量
record
.
setEngineerNames
(
String
.
join
(
"、"
,
names
));
//工程师姓名列表
}
record
.
setExpectTimeBegin
(
TimeUtils
.
IsoTimestamp2DateTime
(
o
.
getExpectTimeBegin
()));
record
.
setExpectTimeEnd
(
TimeUtils
.
IsoTimestamp2DateTime
(
o
.
getExpectTimeEnd
()));
...
...
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