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 e5c9fdae
authored
Nov 16, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(ID1004112): 队内、周边、搜索标签优化,以及距离下拉框选项优化
1 parent
b16e65d0
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
2 deletions
project-order/src/main/java/com/dituhui/pea/order/dto/param/RecommendEngineersReq.java
project-order/src/main/java/com/dituhui/pea/order/enums/TestimonialsEngineerTag.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderAssignImpl.java
project-order/src/main/java/com/dituhui/pea/order/dto/param/RecommendEngineersReq.java
View file @
e5c9fda
...
...
@@ -25,4 +25,9 @@ public class RecommendEngineersReq {
* 待补充doc
*/
private
String
userId
;
/**
* 是否属于搜索查询, 用于满足PRD标签判定
*/
private
boolean
search
;
}
project-order/src/main/java/com/dituhui/pea/order/enums/TestimonialsEngineerTag.java
View file @
e5c9fda
...
...
@@ -18,5 +18,9 @@ public enum TestimonialsEngineerTag {
/**
* 搜索, 通过搜索出来的人
*/
SEARCH
;
SEARCH
,
/**
* 不显示标签
*/
NONE
;
}
project-order/src/main/java/com/dituhui/pea/order/service/impl/OrderAssignImpl.java
View file @
e5c9fda
...
...
@@ -191,8 +191,10 @@ public class OrderAssignImpl implements OrderAssign {
engineerTag
=
TestimonialsEngineerTag
.
TEAM
;
}
else
if
(
tempEngineer
.
getDistance
().
compareTo
(
judgeDistance
)
<=
0
)
{
engineerTag
=
TestimonialsEngineerTag
.
PERIPHERAL
;
}
else
{
}
else
if
(
req
.
isSearch
())
{
engineerTag
=
TestimonialsEngineerTag
.
SEARCH
;
}
else
{
engineerTag
=
TestimonialsEngineerTag
.
NONE
;
}
item
.
setEngineerCode
(
engineerCode
);
...
...
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