feat: 绑定零部件更新后变更绑定人员

This commit is contained in:
2024-04-30 17:45:23 +08:00
parent f958d0a68a
commit e1330caa66
@@ -162,6 +162,7 @@ public class LawsBindPartServiceImpl extends ServiceImpl<LawsBindPartMapper, Law
throw new JeroBootException("id不能为空");
}
this.pdmValidPartEdit(Collections.singletonList(lawsBindPart.getId()));
lawsBindPart.setBindUser(UserUtils.getUserId());
updateById(lawsBindPart);
// 清空关联关系
removeBindPartDoc(lawsBindPart.getId());