|
@ -251,10 +251,12 @@ public class CapacityAssessmentRecordService extends BaseJpaService<CapacityAsse
|
|
|
patientLabelDO.setLabelCode(String.valueOf(recordDO.getLevelConclusion()));
|
|
|
patientLabelDO.setLabelName(dictService.fingByNameAndCode(ConstantUtil.DICT_SERVICE_TYPE,patientLabelDO.getLabelCode()));
|
|
|
patientLabelDao.save(patientLabelDO);
|
|
|
|
|
|
result.put(ResponseContant.resultFlag, ResponseContant.success);
|
|
|
result.put(ResponseContant.resultMsg,recordDO);
|
|
|
return result;
|
|
|
}
|
|
|
else{
|
|
|
result.put(ResponseContant.resultFlag, ResponseContant.fail);
|
|
|
result.put(ResponseContant.resultMsg,"患者今年已做过能力评估报告,不可重复操作");
|
|
|
}
|
|
|
if(StringUtils.isNotBlank(recordDO.getPatient())){
|
|
|
BasePatientDO patientDO= patientDao.findById(recordDO.getPatient());
|
|
@ -266,8 +268,6 @@ public class CapacityAssessmentRecordService extends BaseJpaService<CapacityAsse
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
result.put(ResponseContant.resultFlag, ResponseContant.fail);
|
|
|
result.put(ResponseContant.resultMsg,"患者今年已做过能力评估报告,不可重复操作");
|
|
|
return result;
|
|
|
}
|
|
|
|