修改仓储名称

This commit is contained in:
2022-04-26 16:56:18 +08:00
parent f118dd6e42
commit 8f6830ea8d
50 changed files with 173 additions and 167 deletions
@@ -70,7 +70,7 @@ namespace IRaCIS.Application.Services
//{
// return ResponseOutput.NotOk("该CRO下存在用户,暂时无法删除。");
//}
var success = await _croRepository.BatchDeleteAsync(x=>x.Id== cROCompanyId);
var success = await _croRepository.BatchDeleteNoTrackingAsync(x=>x.Id== cROCompanyId);
return ResponseOutput.Result(success);
}
@@ -54,7 +54,7 @@ namespace IRaCIS.Application.Services
// return ResponseOutput.NotOk("该医院下存在用户,暂时无法删除。");
//}
var success = await _hospitalRepository.BatchDeleteAsync(x => x.Id == hospitalId);
var success = await _hospitalRepository.BatchDeleteNoTrackingAsync(x => x.Id == hospitalId);
return ResponseOutput.Result(success);
}
@@ -69,7 +69,7 @@ namespace IRaCIS.Application.Services
return ResponseOutput.NotOk("This site has participated in the trial and couldn't be deleted.");
}
var success = await _siteRepository.BatchDeleteAsync(x => x.Id == siteId);
var success = await _siteRepository.BatchDeleteNoTrackingAsync(x => x.Id == siteId);
return ResponseOutput.Result(success);
}
}
@@ -75,7 +75,7 @@ namespace IRaCIS.Application.Services
//}
var success = await _sponsorRepository.BatchDeleteAsync(x => x.Id == sponsorId);
var success = await _sponsorRepository.BatchDeleteNoTrackingAsync(x => x.Id == sponsorId);
return ResponseOutput.Result(success);
}
}