Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
谢明辉
/
VVAS-Match
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 54f5bc9b
authored
Aug 23, 2025
by
wenshuaiying
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
兼容店员匹配后,不自动加入.放开异步添加
1 parent
386e7ccf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
src/main/java/com/viontech/match/controller/MainController.java
src/main/java/com/viontech/match/controller/MainController.java
View file @
54f5bc9
...
@@ -46,13 +46,15 @@ public class MainController {
...
@@ -46,13 +46,15 @@ public class MainController {
return
poolService
.
queryPool
(
requestVo
);
return
poolService
.
queryPool
(
requestVo
);
case
MatchPerson:
case
MatchPerson:
ResponseVo
matchPerson
=
personService
.
matchPerson
(
requestVo
);
ResponseVo
matchPerson
=
personService
.
matchPerson
(
requestVo
);
if
(
requestVo
.
getPersonPoolId
().
contains
(
"staff"
)
||
requestVo
.
getPersonPoolId
().
contains
(
"person"
))
{
// if (matchPerson.getMatchBodies() != null && matchPerson.getMatchBodies().size() > 0) {
return
matchPerson
;
// requestVo.getPerson().setPersonId(matchPerson.getMatchBodies().get(0).getPersonId());
}
// } else if(matchPerson.getMatchPersons() != null && matchPerson.getMatchPersons().size() > 0) {
if
(
matchPerson
.
getMatchBodies
()
!=
null
&&
matchPerson
.
getMatchBodies
().
size
()
>
0
)
{
// requestVo.getPerson().setPersonId(matchPerson.getMatchPersons().get(0).getPersonId());
requestVo
.
getPerson
().
setPersonId
(
matchPerson
.
getMatchBodies
().
get
(
0
).
getPersonId
());
// }
}
else
if
(
matchPerson
.
getMatchPersons
()
!=
null
&&
matchPerson
.
getMatchPersons
().
size
()
>
0
)
{
// poolService.asyncModifyPool(requestVo.getPersonPoolId(), requestVo.getPerson());
requestVo
.
getPerson
().
setPersonId
(
matchPerson
.
getMatchPersons
().
get
(
0
).
getPersonId
());
}
poolService
.
asyncModifyPool
(
requestVo
.
getPersonPoolId
(),
requestVo
.
getPerson
());
return
matchPerson
;
return
matchPerson
;
case
UpdatePerson:
case
UpdatePerson:
return
personService
.
updatePerson
(
requestVo
);
return
personService
.
updatePerson
(
requestVo
);
...
...
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