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 ea1a7384
authored
Nov 06, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://gitlab.dituhui.com/bsh/project/project
into develop-16542
2 parents
d6ff405e
edeb31c7
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
4 deletions
project-dispatch/src/main/resources/application-dev.yaml
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderServiceListServiceImpl.java
project-dispatch/src/main/resources/application-dev.yaml
View file @
ea1a738
...
...
@@ -3,7 +3,7 @@ server:
dispatch
:
cron
:
expr
:
0
26 8-19
* * ?
expr
:
0
19 8-20
* * ?
next-day-limit
:
2
# expr: 0 */10 8-18 * * ?
...
...
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderServiceListServiceImpl.java
View file @
ea1a738
...
...
@@ -129,7 +129,7 @@ public class OrderServiceListServiceImpl implements OrderServiceListService {
record
.
setX
(
o
.
getX
());
record
.
setY
(
o
.
getY
());
record
.
setSource
(
o
.
getSource
());
record
.
setDescription
(
o
.
get
Description
());
record
.
setDescription
(
o
.
get
ApplyNote
());
record
.
setPriority
(
o
.
getPriority
());
record
.
setOrgBranchName
(
branchNames
.
getOrDefault
(
o
.
getOrgBranchId
(),
""
));
...
...
@@ -196,7 +196,7 @@ public class OrderServiceListServiceImpl implements OrderServiceListService {
record
.
setX
(
o
.
getX
());
record
.
setY
(
o
.
getY
());
record
.
setSource
(
o
.
getSource
());
record
.
setDescription
(
o
.
get
Description
());
record
.
setDescription
(
o
.
get
ApplyNote
());
record
.
setPriority
(
o
.
getPriority
());
record
.
setOrgBranchName
(
branchNames
.
getOrDefault
(
o
.
getOrgBranchId
(),
""
));
...
...
@@ -262,7 +262,13 @@ public class OrderServiceListServiceImpl implements OrderServiceListService {
private
List
<
String
>
getOrderEngineerNames
(
String
engineerCode
,
String
engineerCodeSub
,
Map
<
String
,
String
>
engineerNames
)
{
// 获取订单技术员姓名信息
List
<
String
>
names
=
new
ArrayList
<>();
for
(
String
code
:
List
.
of
(
engineerCode
,
engineerCodeSub
))
{
List
<
String
>
codes
=
new
ArrayList
<>()
{
{
add
(
engineerCode
);
add
(
engineerCodeSub
);
}
};
for
(
String
code
:
codes
)
{
String
name
=
engineerNames
.
getOrDefault
(
code
,
""
);
if
(
StringUtils
.
isNotEmpty
(
name
))
{
names
.
add
(
name
);
...
...
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