|
@ -125,13 +125,19 @@ public class CarePatientService extends BaseJpaService<BasePatientDO, BasePatien
|
|
patientDO.setSsc(null);
|
|
patientDO.setSsc(null);
|
|
patientDO.setMobile(mobile);
|
|
patientDO.setMobile(mobile);
|
|
patientDO.setSex(Integer.valueOf(IdCardUtil.getSexForIdcard_new(idcard)));
|
|
patientDO.setSex(Integer.valueOf(IdCardUtil.getSexForIdcard_new(idcard)));
|
|
|
|
try {
|
|
|
|
patientDO.setBirthday(IdCardUtil.getBirthdayForIdcard(idcard));
|
|
|
|
}catch (Exception e){
|
|
|
|
e.printStackTrace();
|
|
|
|
}
|
|
|
|
|
|
patientDO.setName(name);
|
|
patientDO.setName(name);
|
|
patientDO.setArchiveType(1);
|
|
patientDO.setArchiveType(1);
|
|
patientDO.setArchiveStatus(1);
|
|
patientDO.setArchiveStatus(1);
|
|
if(patientDO.getSex()==2){
|
|
if(patientDO.getSex()==2){
|
|
patientDO.setPhoto("group1/M00/00/7C/rBoAbmIu8g6ANMrpAAAiSDNDGrM907.png");
|
|
|
|
|
|
patientDO.setPhoto("group1/M00/00/04/ChIrKGIxtGOAeZ1HAAAiSDNDGrM335.png");
|
|
}else{
|
|
}else{
|
|
patientDO.setPhoto("group1/M00/00/5A/rBoAb2Iu8gOAQ9WYAAAgcmCLvjQ782.png");
|
|
|
|
|
|
patientDO.setPhoto("group1/M00/00/04/ChIrKGIxtDmAaIxuAAAgcmCLvjQ862.png");
|
|
}
|
|
}
|
|
patientDO.setDel("1");
|
|
patientDO.setDel("1");
|
|
patientDO.setLocked(0);
|
|
patientDO.setLocked(0);
|
|
@ -201,9 +207,9 @@ public class CarePatientService extends BaseJpaService<BasePatientDO, BasePatien
|
|
patientDO.setArchiveType(1);
|
|
patientDO.setArchiveType(1);
|
|
patientDO.setArchiveStatus(1);
|
|
patientDO.setArchiveStatus(1);
|
|
if(patientDO.getSex()==2){
|
|
if(patientDO.getSex()==2){
|
|
patientDO.setPhoto("group1/M00/00/7C/rBoAbmIu8g6ANMrpAAAiSDNDGrM907.png");
|
|
|
|
|
|
patientDO.setPhoto("group1/M00/00/04/ChIrKGIxtGOAeZ1HAAAiSDNDGrM335.png");
|
|
}else{
|
|
}else{
|
|
patientDO.setPhoto("group1/M00/00/5A/rBoAb2Iu8gOAQ9WYAAAgcmCLvjQ782.png");
|
|
|
|
|
|
patientDO.setPhoto("group1/M00/00/04/ChIrKGIxtDmAaIxuAAAgcmCLvjQ862.png");
|
|
}
|
|
}
|
|
patientDO.setDel("1");
|
|
patientDO.setDel("1");
|
|
patientDO.setLocked(0);
|
|
patientDO.setLocked(0);
|