bug 处理

This commit is contained in:
13405411873 2025-05-14 14:36:36 +08:00
parent 38f5d22946
commit 9d31b9cd11

View File

@ -739,16 +739,16 @@ public class PatientScriptServiceImpl implements PatientScriptService {
if (CollectionUtil.isNotEmpty(patientScripts)){
return;
}
PatientScript patientScript3 =new PatientScript();
patientScript3.setStatus("生成异常");
patientScript3.setType("dti");
List<PatientScript> patientScriptList3 = scriptMapper.selectList(patientScript3);
//获取最后一个
if (CollectionUtil.isNotEmpty(patientScriptList3)){
PatientScript patientScript1 = patientScriptList3.get(patientScriptList3.size() - 1);
this.saveDti(patientScript1);
return;
}
// PatientScript patientScript3 =new PatientScript();
// patientScript3.setStatus("生成异常");
// patientScript3.setType("dti");
// List<PatientScript> patientScriptList3 = scriptMapper.selectList(patientScript3);
// //获取最后一个
// if (CollectionUtil.isNotEmpty(patientScriptList3)){
// PatientScript patientScript1 = patientScriptList3.get(patientScriptList3.size() - 1);
// this.saveDti(patientScript1);
// return;
// }
PatientScript patientScript2 =new PatientScript();
patientScript2.setStatus("待生成");
patientScript2.setType("dti");