其他出入库 erp仓库获取方式 修改 组织删除时删除设备关系
This commit is contained in:
@@ -582,6 +582,7 @@ public class OrganizeService : IOrganizeService, IDynamicApiController, ITransie
|
||||
|
||||
// 删除该组织和角色关联数据
|
||||
await _repository.AsSugarClient().Deleteable<OrganizeRelationEntity>().Where(x => x.OrganizeId == id && x.ObjectType == "Role").ExecuteCommandAsync();
|
||||
await _repository.AsSugarClient().Deleteable<OrganizeRelationEntity>().Where(x => x.OrganizeId == id && x.ObjectType == "Eqp").ExecuteCommandAsync();
|
||||
|
||||
_db.CommitTran();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user