修改字典表

Uat_Study
hang 2022-09-20 15:55:42 +08:00
parent 8575df5eb9
commit ab2899e6e4
1 changed files with 4 additions and 0 deletions

View File

@ -118,6 +118,10 @@ namespace IRaCIS.Application.Services
// } // }
//} //}
var entity = await _dicRepository.InsertOrUpdateAsync(addOrEditBasic, true, verifyExp1); var entity = await _dicRepository.InsertOrUpdateAsync(addOrEditBasic, true, verifyExp1);
await _dicRepository.BatchUpdateNoTrackingAsync(t => t.ParentId == entity.Id, c => new Dictionary() { DataTypeEnum = entity.DataTypeEnum });
await _dicRepository.SaveChangesAsync();
return ResponseOutput.Ok(entity.Id.ToString()); return ResponseOutput.Ok(entity.Id.ToString());
} }