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 beb4ea05
authored
Oct 12, 2023
by
huangjinxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:格式化代码
1 parent
05eb6669
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderServiceDetailImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderServiceDetailImpl.java
View file @
beb4ea0
...
@@ -125,12 +125,12 @@ public class OrderServiceDetailImpl implements OrderServiceDetail {
...
@@ -125,12 +125,12 @@ public class OrderServiceDetailImpl implements OrderServiceDetail {
List
<
OrderAppointmentListResp
.
OrderAppointment
>
items
=
new
ArrayList
<>();
List
<
OrderAppointmentListResp
.
OrderAppointment
>
items
=
new
ArrayList
<>();
for
(
OrderInfoEntity
o
:
results
)
{
for
(
OrderInfoEntity
o
:
results
)
{
EngineerInfoEntity
eg
=
egInfo
.
getOrDefault
(
o
.
getEngineerCode
(),
null
);
EngineerInfoEntity
eg
=
egInfo
.
getOrDefault
(
o
.
getEngineerCode
(),
null
);
if
(
eg
==
null
)
{
if
(
eg
==
null
)
{
log
.
warn
(
"未获得工程师{}基础信息, 订单:{}"
,
o
.
getEngineerCode
(),
o
.
getOrderId
());
log
.
warn
(
"未获得工程师{}基础信息, 订单:{}"
,
o
.
getEngineerCode
(),
o
.
getOrderId
());
continue
;
continue
;
}
}
String
skill
=
egSkill
.
getOrDefault
(
o
.
getEngineerCode
(),
null
);
String
skill
=
egSkill
.
getOrDefault
(
o
.
getEngineerCode
(),
null
);
if
(
skill
==
null
)
{
if
(
skill
==
null
)
{
log
.
warn
(
"未获得工程师{}基础技能, 订单:{}"
,
o
.
getEngineerCode
(),
o
.
getOrderId
());
log
.
warn
(
"未获得工程师{}基础技能, 订单:{}"
,
o
.
getEngineerCode
(),
o
.
getOrderId
());
}
}
...
@@ -192,7 +192,8 @@ public class OrderServiceDetailImpl implements OrderServiceDetail {
...
@@ -192,7 +192,8 @@ public class OrderServiceDetailImpl implements OrderServiceDetail {
if
(
egCodes
.
isEmpty
())
{
if
(
egCodes
.
isEmpty
())
{
return
map
;
return
map
;
}
}
List
<
EngineerInfoEntity
>
rows
=
engineerInfoDao
.
findByEngineerCodeIn
(
egCodes
);;
List
<
EngineerInfoEntity
>
rows
=
engineerInfoDao
.
findByEngineerCodeIn
(
egCodes
);
;
for
(
EngineerInfoEntity
row
:
rows
)
{
for
(
EngineerInfoEntity
row
:
rows
)
{
map
.
put
(
row
.
getEngineerCode
(),
row
);
map
.
put
(
row
.
getEngineerCode
(),
row
);
}
}
...
...
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