医院版本
This commit is contained in:
parent
95a031138d
commit
739bb7f29a
@ -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 {
|
||||
|
@ -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("女");
|
||||
|
Loading…
Reference in New Issue
Block a user