Commit 6fbccbf3 authored by fangxinjiang's avatar fangxinjiang

项目负责人更新-fxj

parent c6bcb2d5
......@@ -507,6 +507,9 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
domain.setDepartName(tSettleDomainInfo.getDepartName());
domain.setId(tSettleDomainInfo.getId());
initServerTeamPermission(domain);
tSettleDomainInfo.setProjectManagerName(domain.getProjectManagerName());
tSettleDomainInfo.setProjectManager(domain.getProjectManager());
baseMapper.updateById(tSettleDomainInfo);
}
}
return R.ok(Boolean.TRUE,CommonConstants.RESULT_DATA_SUCESS);
......@@ -538,6 +541,10 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
if (Common.isNotNull(res) && Common.isNotNull(res.getData()) && Common.isNotNull(res.getData().getUserList())){
// 先清理缓存
this.removeSettleCache(null, res.getData().getUserIds());
//项目负责人目前只有一个,如果有多个这个地方需要特殊处理
if (res.getData().getUserList().size() >= CommonConstants.ONE_INT){
domain.setProjectManagerName(res.getData().getUserList().get(0).getNickname());
}
saveForEkp(res.getData().getUserList(), domain);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment