CRC 提交冲突 前端刷新code定义
parent
a40926235b
commit
eba41a039d
|
@ -1371,7 +1371,7 @@ namespace IRaCIS.Core.Application.Image.QA
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
return ResponseOutput.NotOk("当前访视的影像数据,已经由其他CRC提交。");
|
return ResponseOutput.NotOk("当前访视的影像数据,已经由其他CRC提交。",3,ApiResponseCodeEnum.NeedTips);
|
||||||
}
|
}
|
||||||
//不审 直接QC通过 可能一致性核查 也可能不一致性核查
|
//不审 直接QC通过 可能一致性核查 也可能不一致性核查
|
||||||
if (trialConfig.QCProcessEnum == TrialQCProcess.NotAudit)
|
if (trialConfig.QCProcessEnum == TrialQCProcess.NotAudit)
|
||||||
|
|
|
@ -28,42 +28,44 @@ namespace IRaCIS.Application.Services
|
||||||
public string Get(testModel testModel)
|
public string Get(testModel testModel)
|
||||||
{
|
{
|
||||||
|
|
||||||
//var aaabb = _trialRepository.BatchDeleteNoTrackingAsync(t => t.Id == Guid.Empty).Result;
|
var aa= _trialRepository.Where(t => t.Id == Guid.Empty).First();
|
||||||
|
|
||||||
//var aaaa = _dicRepository.BatchDeleteNoTrackingAsync(t => t.Id == Guid.Empty).Result;
|
//var aaabb = _trialRepository.BatchDeleteNoTrackingAsync(t => t.Id == Guid.Empty).Result;
|
||||||
|
|
||||||
|
//var aaaa = _dicRepository.BatchDeleteNoTrackingAsync(t => t.Id == Guid.Empty).Result;
|
||||||
|
|
||||||
|
|
||||||
//var waitModifyEntity = _dicRepository.FirstOrDefaultAsync(t => t.Id == Guid.Parse("e2b97a6c-35a6-4aa3-7f27-08da13ab33ff")).GetAwaiter().GetResult();
|
//var waitModifyEntity = _dicRepository.FirstOrDefaultAsync(t => t.Id == Guid.Parse("e2b97a6c-35a6-4aa3-7f27-08da13ab33ff")).GetAwaiter().GetResult();
|
||||||
|
|
||||||
//var tt = _dicRepository.UpdateAsync(waitModifyEntity, t => new Dictionary() { Description = "xxxxx" }, true).Result;
|
//var tt = _dicRepository.UpdateAsync(waitModifyEntity, t => new Dictionary() { Description = "xxxxx" }, true).Result;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//var tt2 = _trialRepository.UpdatePartialFromQueryAsync(Guid.Parse("543d0000-3e10-0016-77e9-08da2827228a"), t => new Trial() { Indication = "WCH测试稽查002" }, true).Result;
|
//var tt2 = _trialRepository.UpdatePartialFromQueryAsync(Guid.Parse("543d0000-3e10-0016-77e9-08da2827228a"), t => new Trial() { Indication = "WCH测试稽查002" }, true).Result;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//var d = _repository.Where<User>(t => t.FullName.Contains("cc")).Select(t => t.FullName).FirstOrDefault();
|
//var d = _repository.Where<User>(t => t.FullName.Contains("cc")).Select(t => t.FullName).FirstOrDefault();
|
||||||
//var c = _dicRepository.Where(t => t.ParentId != null).Select(t => t.MappedValue).First();
|
//var c = _dicRepository.Where(t => t.ParentId != null).Select(t => t.MappedValue).First();
|
||||||
//CultureInfo culture = CultureInfo.CurrentUICulture;
|
//CultureInfo culture = CultureInfo.CurrentUICulture;
|
||||||
|
|
||||||
//var dd = _dicRepository.UpdatePartialFields(Guid.Parse("8a90c96e-0776-4f7b-82a6-18933d339584"),
|
//var dd = _dicRepository.UpdatePartialFields(Guid.Parse("8a90c96e-0776-4f7b-82a6-18933d339584"),
|
||||||
// u => new Dictionary() { ParentId = null, Code = "test" }, true);
|
// u => new Dictionary() { ParentId = null, Code = "test" }, true);
|
||||||
|
|
||||||
|
|
||||||
//var ggggg = _dicRepository.UpdateFromQueryAsync(t => t.ParentId == Guid.Parse("8a90c96e-0776-4f7b-82a6-18933d339584"), u=>new Dictionary(){Code = "test"}).Result;
|
//var ggggg = _dicRepository.UpdateFromQueryAsync(t => t.ParentId == Guid.Parse("8a90c96e-0776-4f7b-82a6-18933d339584"), u=>new Dictionary(){Code = "test"}).Result;
|
||||||
|
|
||||||
//var ddd = _dicRepository.BatchUpdateAsync(t => t.Id == Guid.Parse("8a90c96e-0776-4f7b-82a6-18933d339584"),
|
//var ddd = _dicRepository.BatchUpdateAsync(t => t.Id == Guid.Parse("8a90c96e-0776-4f7b-82a6-18933d339584"),
|
||||||
// u => new Dictionary() { /*ParentId = null,*/ Code = "test" }).Result;
|
// u => new Dictionary() { /*ParentId = null,*/ Code = "test" }).Result;
|
||||||
|
|
||||||
|
|
||||||
//var aaaaa= _trialRepository.BatchUpdateAsync(t => t.Id == Guid.Empty,
|
//var aaaaa= _trialRepository.BatchUpdateAsync(t => t.Id == Guid.Empty,
|
||||||
// u => new SubjectVisit() { CurrentActionUserId = null }).Result;
|
// u => new SubjectVisit() { CurrentActionUserId = null }).Result;
|
||||||
|
|
||||||
|
|
||||||
//var d = _dicRepository.UpdateFromDTOAsync(new AddOrEditBasicDic() { Id = Guid.Parse("60d86683-c33b-4349-b672-08da1e91b622"), ParentId = null, ChildGroup = null, Code = null }, true, true).Result;
|
//var d = _dicRepository.UpdateFromDTOAsync(new AddOrEditBasicDic() { Id = Guid.Parse("60d86683-c33b-4349-b672-08da1e91b622"), ParentId = null, ChildGroup = null, Code = null }, true, true).Result;
|
||||||
var a = 123;
|
var a = 123;
|
||||||
|
|
||||||
var b = _localizer["test{0}", "测试"];
|
var b = _localizer["test{0}", "测试"];
|
||||||
//return _localizer["test{0}", "测试"];
|
//return _localizer["test{0}", "测试"];
|
||||||
|
|
|
@ -23,10 +23,17 @@ namespace IRaCIS.Core.Infrastructure.Extention
|
||||||
//程序异常 相当于之前的 IsSuccess = false
|
//程序异常 相当于之前的 IsSuccess = false
|
||||||
ProgramException = 4,
|
ProgramException = 4,
|
||||||
|
|
||||||
//需要提示 ,需要提示 从Result 取数据
|
|
||||||
|
|
||||||
|
|
||||||
|
//需要提示 ,需要提示 从Result 取数据 ( 0 可以继续处理提交 ,1 不能进行继续处理提交 ,2 刷新列表 )
|
||||||
NeedTips = 5,
|
NeedTips = 5,
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
//在其他地方登陆,被迫下线
|
//在其他地方登陆,被迫下线
|
||||||
LoginInOtherPlace = -1,
|
LoginInOtherPlace = -1,
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue