Commit a3811d71 by zhiwj

受审项

parent 88217083
......@@ -35,9 +35,10 @@ public class AuditorAuditedGroupRelServiceImpl implements AuditorAuditedGroupRel
@Override
public void addOrUpdateRel(Integer enterpriseId, Integer auditorId, List<Integer> auditedGroupIdList) {
if (CollectionUtils.isNotEmpty(auditedGroupIdList)) {
// 把所有auditorId的关联status设置为0
tabAuditorAuditedGroupRelMapper.delByAuditorId(auditorId);
tabAuditorAuditedGroupRelMapper.delByAuditorId(auditorId);
if (CollectionUtils.isNotEmpty(auditedGroupIdList)) {
// 插入不存在的关联
for (Integer auditedGroupId : auditedGroupIdList) {
TabAuditorAuditedGroupRel itemRel = new TabAuditorAuditedGroupRel();
......
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