医院版本

This commit is contained in:
zhuchunyun 2025-09-04 15:00:58 +08:00
parent 95a031138d
commit 739bb7f29a
2 changed files with 2 additions and 2 deletions

View File

@ -726,7 +726,7 @@ public class PatientScriptServiceImpl implements PatientScriptService {
List<PatientScript> patientScriptList = scriptMapper.selectList(patientScript2);
//获取最后一个
if (CollectionUtil.isNotEmpty(patientScriptList)){
PatientScript patientScript1 = patientScriptList.get(patientScriptList.size() - 1);
PatientScript patientScript1 = patientScriptList.get(0);
if (patientScript1.getType().equals("dti")){
this.saveDti(patientScript1);
}else {

View File

@ -39,7 +39,7 @@ public class ShellUtil {
if (parts.length > 1) {
String sex = parts[1].trim();
if(StringUtils.isNotEmpty(sex)&&StringUtils.isEmpty(patientScript.getPatientSex())&&!sex.equals("Unknown")){
if ("M".equals(sex)){
if ("".equals(sex)){
patientScript.setPatientSex("");
}else {
patientScript.setPatientSex("");