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 d3cf3310
authored
Nov 13, 2023
by
刘鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(工作人员): 工作队人员绑定关系更新先执行先删除语句时手动提交执行到数据库
1 parent
4933bf7f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
0 deletions
project-order/src/main/java/com/dituhui/pea/order/service/impl/BusinessTeamServiceImpl.java
project-order/src/main/java/com/dituhui/pea/order/service/impl/BusinessTeamServiceImpl.java
View file @
d3cf331
...
...
@@ -216,6 +216,7 @@ public class BusinessTeamServiceImpl implements BusinessTeamService {
//移除原有关系映射
orgTeamEngineerDao
.
deleteByTeamId
(
targetTeamId
);
orgTeamEngineerDao
.
flush
();
//新增新的关系映射
List
<
OrgTeamEngineerEntity
>
newRelation
=
engineerCodes
.
stream
().
map
(
t
->
{
OrgTeamEngineerEntity
relation
=
new
OrgTeamEngineerEntity
();
...
...
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