bug 处理

This commit is contained in:
13405411873 2025-05-12 17:04:04 +08:00
parent 7af128df4b
commit 3549297051

View File

@ -196,8 +196,6 @@ public class PatientScriptServiceImpl implements PatientScriptService {
scriptMapper.updateStatus(patientScript);
patientScript = scriptMapper.getById(Long.valueOf(patientScript.getId()));
// 多任务同时处理
if (!patientScript.getType().equals("mri")){
String unique_id = generateOtp();
String playground = "playground"+unique_id;
String format = DateUtil.format(new Date(), "yyyy-MM-dd");
@ -269,8 +267,6 @@ public class PatientScriptServiceImpl implements PatientScriptService {
patientScript.setResImage("/data/"+format+"/output-"+unique_id+"/Net.jpg");
patientScript.setStatus(status);
scriptMapper.updateStatus(patientScript);
}
}catch (Exception e){
log.error(e.getMessage());
patientScript.setStatus("生成异常");
@ -1302,8 +1298,6 @@ public class PatientScriptServiceImpl implements PatientScriptService {
scriptMapper.updateStatus(patientScript);
patientScript = scriptMapper.getById(Long.valueOf(patientScript.getId()));
// 多任务同时处理
if (!patientScript.getType().equals("dti")){
String unique_id = generateOtp();
String playground = "playground"+unique_id;
String format = DateUtil.format(new Date(), "yyyy-MM-dd");
@ -1376,7 +1370,6 @@ public class PatientScriptServiceImpl implements PatientScriptService {
patientScript.setStatus(status);
scriptMapper.updateStatus(patientScript);
}
}catch (Exception e){
log.error(e.getMessage());
patientScript.setStatus("生成异常");