|
@@ -47,7 +47,8 @@ public class RetrievalFacade {
|
|
retrievalDTO = respDTO.data;
|
|
retrievalDTO = respDTO.data;
|
|
} else {
|
|
} else {
|
|
//实际医院查询医院词
|
|
//实际医院查询医院词
|
|
- if (StringUtil.isBlank(retrievalVO.getInputStr())) {
|
|
|
|
|
|
+ if (retrievalVO.getDefaultList().equals(0)
|
|
|
|
+ && StringUtil.isBlank(retrievalVO.getInputStr())) {
|
|
throw new CommonException(CommonErrorCode.PARAM_IS_NULL, "请输入检索内容!");
|
|
throw new CommonException(CommonErrorCode.PARAM_IS_NULL, "请输入检索内容!");
|
|
}
|
|
}
|
|
HospitalCheckVO hospitalCheckVO = new HospitalCheckVO();
|
|
HospitalCheckVO hospitalCheckVO = new HospitalCheckVO();
|