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 5e3c8af1
authored
Jul 10, 2023
by
张晓
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
技术员技能组织调试
1 parent
c6d28c61
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
0 deletions
project-dispatch/src/main/java/com/dituhui/pea/dispatch/service/impl/SolveServiceImpl.java
project-dispatch/src/main/resources/application-dev.yaml
project-dispatch/src/main/resources/application.yaml
project-dispatch/src/main/java/com/dituhui/pea/dispatch/service/impl/SolveServiceImpl.java
View file @
5e3c8af
...
...
@@ -115,8 +115,11 @@ public class SolveServiceImpl implements SolveService {
Depot
depot
=
new
Depot
(
engineer
.
getId
(),
engineer
.
getEngineerCode
(),
location
,
60
*
8
,
60
*
18
);
depotList
.
add
(
depot
);
log
.
info
(
"组织问题对象, groupId:{}, batchNo:{}, engineer-code:{}"
,
groupId
,
batchNo
,
engineer
.
getEngineerCode
());
List
<
String
>
skillList
=
queryEngineerSkills
(
engineer
.
getEngineerCode
());
log
.
info
(
"组织问题对象, groupId:{}, batchNo:{}, engineer-code:{} , skills:{}"
,
groupId
,
batchNo
,
engineer
.
getEngineerCode
(),
String
.
join
(
";"
,
skillList
));
// 距离偏好map
Map
<
String
,
Long
>
preferedLoctionDistanceMap
=
new
HashMap
<
String
,
Long
>();
customerList
.
forEach
(
customer
->
{
...
...
project-dispatch/src/main/resources/application-dev.yaml
View file @
5e3c8af
...
...
@@ -32,6 +32,11 @@ spring:
password
:
12345678
type
:
com.alibaba.druid.pool.DruidDataSource
jpa
:
show-sql
:
true
hibernate
:
ddl-auto
:
none
seata
:
application-id
:
${spring.application.name}
tx-service-group
:
${spring.application.name}-group
...
...
project-dispatch/src/main/resources/application.yaml
View file @
5e3c8af
...
...
@@ -31,6 +31,11 @@ spring:
password
:
123456
type
:
com.alibaba.druid.pool.DruidDataSource
jpa
:
show-sql
:
true
hibernate
:
ddl-auto
:
none
seata
:
application-id
:
${spring.application.name}
tx-service-group
:
${spring.application.name}-group
...
...
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