|
@@ -675,14 +675,18 @@ public class BehospitalInfoFacade extends BehospitalInfoServiceImpl {
|
|
|
|
|
|
BehosDTO behosDTO = new BehosDTO();
|
|
|
if (behospitalInfo == null) {
|
|
|
- throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "该病历已删除!");
|
|
|
+ throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
|
+ "该病历不存在!【hospitalId=" + hospitalId + "】【behospitalCode="
|
|
|
+ + getDetailVO.getBehospitalCode() + "】");
|
|
|
}
|
|
|
BeanUtil.copyProperties(behospitalInfo, behosDTO);
|
|
|
|
|
|
// 获取结果主表信息
|
|
|
QcResultDTO qcResultDTO = qcresultInfoFacade.getByBehospitalCode(getDetailVO);
|
|
|
if (qcResultDTO == null) {
|
|
|
- throw new CommonException(CommonErrorCode.SERVER_IS_ERROR, "该病历未评分!");
|
|
|
+ throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
|
+ "该病历未评分!【hospitalId=" + hospitalId + "】【behospitalCode="
|
|
|
+ + getDetailVO.getBehospitalCode() + "】");
|
|
|
}
|
|
|
QcResultApiDTO qcResultApiDTO = new QcResultApiDTO();
|
|
|
BeanUtil.copyProperties(qcResultDTO, qcResultApiDTO);
|