修改仓储
This commit is contained in:
@@ -191,7 +191,7 @@ namespace IRaCIS.Application.Services
|
||||
}
|
||||
|
||||
var isSuccess = await _subjectRepository.BatchDeleteAsync(u => u.Id == id);
|
||||
await _subjectVisitRepository.TrackingBatchDeleteAsync(u => u.SubjectId == id);
|
||||
await _subjectVisitRepository.TrackingDeleteFromQueryAsync(u => u.SubjectId == id);
|
||||
|
||||
|
||||
var subvisit = await _subjectVisitRepository.Where(x => x.SubjectId == id).ToListAsync();
|
||||
|
||||
@@ -23,7 +23,7 @@ namespace IRaCIS.Application.Services
|
||||
public string Get(testModel testModel)
|
||||
{
|
||||
|
||||
var tt= _dicRepository.QueryThenPartiallyUpdateAsync(Guid.Parse("e2b97a6c-35a6-4aa3-7f27-08da13ab33ff"), t => new Dictionary() { Description = "xxxxx" }, true).Result;
|
||||
var tt= _dicRepository.TrackingUpdateFromQueryAsync(Guid.Parse("e2b97a6c-35a6-4aa3-7f27-08da13ab33ff"), t => new Dictionary() { Description = "xxxxx" }, true).Result;
|
||||
|
||||
|
||||
//var d = _repository.Where<User>(t => t.FullName.Contains("cc")).Select(t => t.FullName).FirstOrDefault();
|
||||
|
||||
Reference in New Issue
Block a user