修改字典表
This commit is contained in:
@@ -118,6 +118,10 @@ namespace IRaCIS.Application.Services
|
||||
// }
|
||||
//}
|
||||
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());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user