CRC 提交冲突 前端刷新code定义

Uat_Study
hang 2022-05-27 10:05:07 +08:00
parent a40926235b
commit eba41a039d
3 changed files with 30 additions and 21 deletions

View File

@ -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)

View File

@ -28,6 +28,8 @@ namespace IRaCIS.Application.Services
public string Get(testModel testModel) public string Get(testModel testModel)
{ {
var aa= _trialRepository.Where(t => t.Id == Guid.Empty).First();
//var aaabb = _trialRepository.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 aaaa = _dicRepository.BatchDeleteNoTrackingAsync(t => t.Id == Guid.Empty).Result;

View File

@ -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,