修改仓储名称
This commit is contained in:
@@ -104,7 +104,7 @@ namespace IRaCIS.Application.Services
|
||||
return ResponseOutput.NotOk("This item is referenced by content of the trial infomation.");
|
||||
}
|
||||
|
||||
var success = await _dicRepository.BatchDeleteAsync(t => t.Id == id);
|
||||
var success = await _dicRepository.BatchDeleteNoTrackingAsync(t => t.Id == id);
|
||||
return ResponseOutput.Result(success);
|
||||
}
|
||||
|
||||
|
||||
@@ -50,7 +50,7 @@ namespace IRaCIS.Core.Application.Contracts
|
||||
[HttpDelete("{emailNoticeConfigId:guid}")]
|
||||
public async Task<IResponseOutput> DeleteEmailNoticeConfig(Guid emailNoticeConfigId)
|
||||
{
|
||||
var success = await repository.BatchDeleteAsync(t => t.Id == emailNoticeConfigId);
|
||||
var success = await repository.BatchDeleteNoTrackingAsync(t => t.Id == emailNoticeConfigId);
|
||||
|
||||
return ResponseOutput.Result(success);
|
||||
}
|
||||
|
||||
@@ -223,7 +223,7 @@ namespace IRaCIS.Core.Application.Service
|
||||
{
|
||||
foreach (var item in sortDto.SortData)
|
||||
{
|
||||
await _frontAuditConfigRepository.BatchUpdateAsync(x => x.Id == item.Id, x => new FrontAuditConfig
|
||||
await _frontAuditConfigRepository.BatchUpdateNoTrackingAsync(x => x.Id == item.Id, x => new FrontAuditConfig
|
||||
{
|
||||
Sort = item.Sort
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user