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 aaee4697
authored
Jul 18, 2023
by
王力
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_orderlist0717' into 'develop'
Dev orderlist0717 See merge request !254
2 parents
40969116
c04423c5
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/DispatchServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderAssignImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/DispatchServiceImpl.java
View file @
aaee469
...
...
@@ -402,7 +402,7 @@ public class DispatchServiceImpl implements DispatchService {
lqw
.
eq
(
EngineerInfo:
:
getBeanStatus
,
1
);
lqw
.
in
(
ListUtils
.
isNotEmpty
(
engineerCodes
),
EngineerInfo:
:
getEngineerCode
,
engineerCodes
);
String
inTeamIds
=
teamIds
.
stream
().
map
(
Object:
:
toString
).
collect
(
Collectors
.
joining
(
","
))
;
String
inTeamIds
=
"'"
+
teamIds
.
stream
().
map
(
Object:
:
toString
).
collect
(
Collectors
.
joining
(
"','"
))
+
"'"
;
String
sql
=
String
.
format
(
"select 1 from org_team_engineer ot where ot.engineer_code = engineer_info.engineer_code and ot.team_id in (%s)"
,
inTeamIds
);
lqw
.
exists
(
sql
);
...
...
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderAssignImpl.java
View file @
aaee469
...
...
@@ -77,13 +77,13 @@ public class OrderAssignImpl implements OrderAssign {
List
<
OrderAssignRecommendResp
.
Engineer
>
items
=
new
ArrayList
<>();
for
(
EngineerInfo
engineer
:
engineers
)
{
OrderAssignCheck
.
Result
result
=
orderAssignCheck
.
orderAssignCheck
(
orderId
,
engineer
.
getEngineerCode
());
log
.
info
(
"指派检查结果:{}"
,
result
);
if
(!
result
.
getCanAssign
())
{
continue
;
}
// 获取已技术员已指派订单列表
List
<
OrderAppointment
>
orderAppointments
=
orderAppointmentMPDao
.
selectByEngineerCodeAndDt
(
engineer
.
getEngineerCode
(),
order
.
getDt
());
// 获取订单tips
...
...
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