|
@@ -209,11 +209,7 @@ public class QuestionInfoFacade extends QuestionInfoServiceImpl {
|
|
|
* @return
|
|
|
*/
|
|
|
public List<GetQuestionInfoDTO> getQuestiongInfosByName(GetQuestionInfoVO getQuestionInfoVO){
|
|
|
- List<GetQuestionInfoDTO> getQuestionInfoDTOS = this.getQuestiongInfosByName(getQuestionInfoVO);
|
|
|
- if(ListUtil.isEmpty(getQuestionInfoDTOS)){
|
|
|
- throw new CommonException(CommonErrorCode.FAIL,
|
|
|
- "获取科室信息失败");
|
|
|
- }
|
|
|
+ List<GetQuestionInfoDTO> getQuestionInfoDTOS = this.getQuestiongInfoByName(getQuestionInfoVO);
|
|
|
return getQuestionInfoDTOS;
|
|
|
}
|
|
|
|
|
@@ -224,10 +220,6 @@ public class QuestionInfoFacade extends QuestionInfoServiceImpl {
|
|
|
*/
|
|
|
public List<GetQuestionInfoDTO> getQuestionUsualByDept(GetQuestionUsualByDeptVO getQuestionUsualByDeptVO){
|
|
|
List<GetQuestionInfoDTO> getQuestionInfoDTOList = this.getQuestionUsualsByDept(getQuestionUsualByDeptVO);
|
|
|
- if(ListUtil.isEmpty(getQuestionInfoDTOList)){
|
|
|
- throw new CommonException(CommonErrorCode.FAIL,
|
|
|
- "获取常用标签失败");
|
|
|
- }
|
|
|
return getQuestionInfoDTOList;
|
|
|
}
|
|
|
}
|