医院版本
This commit is contained in:
parent
95a031138d
commit
739bb7f29a
@ -726,7 +726,7 @@ public class PatientScriptServiceImpl implements PatientScriptService {
|
|||||||
List<PatientScript> patientScriptList = scriptMapper.selectList(patientScript2);
|
List<PatientScript> patientScriptList = scriptMapper.selectList(patientScript2);
|
||||||
//获取最后一个
|
//获取最后一个
|
||||||
if (CollectionUtil.isNotEmpty(patientScriptList)){
|
if (CollectionUtil.isNotEmpty(patientScriptList)){
|
||||||
PatientScript patientScript1 = patientScriptList.get(patientScriptList.size() - 1);
|
PatientScript patientScript1 = patientScriptList.get(0);
|
||||||
if (patientScript1.getType().equals("dti")){
|
if (patientScript1.getType().equals("dti")){
|
||||||
this.saveDti(patientScript1);
|
this.saveDti(patientScript1);
|
||||||
}else {
|
}else {
|
||||||
|
|||||||
@ -39,7 +39,7 @@ public class ShellUtil {
|
|||||||
if (parts.length > 1) {
|
if (parts.length > 1) {
|
||||||
String sex = parts[1].trim();
|
String sex = parts[1].trim();
|
||||||
if(StringUtils.isNotEmpty(sex)&&StringUtils.isEmpty(patientScript.getPatientSex())&&!sex.equals("Unknown")){
|
if(StringUtils.isNotEmpty(sex)&&StringUtils.isEmpty(patientScript.getPatientSex())&&!sex.equals("Unknown")){
|
||||||
if ("M".equals(sex)){
|
if ("男".equals(sex)){
|
||||||
patientScript.setPatientSex("男");
|
patientScript.setPatientSex("男");
|
||||||
}else {
|
}else {
|
||||||
patientScript.setPatientSex("女");
|
patientScript.setPatientSex("女");
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user