Commit d3cf3310 by 刘鑫

fix(工作人员): 工作队人员绑定关系更新先执行先删除语句时手动提交执行到数据库

1 parent 4933bf7f
......@@ -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();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!