|
@@ -544,7 +544,9 @@ public class QuestionFacade extends QuestionInfoServiceImpl {
|
|
|
StringBuffer sb = new StringBuffer();
|
|
|
sb.append("请先删除科室查体模板关联中的对应标签:");
|
|
|
for (DeptVital deptVital : deptVitals) {
|
|
|
- sb.append("【" + depts.get(deptVital.getDeptId()) + "】").append("<br/>");
|
|
|
+ if(StringUtil.isNotBlank(depts.get(deptVital.getDeptId()))){
|
|
|
+ sb.append("【" + depts.get(deptVital.getDeptId()) + "】").append("<br/>");
|
|
|
+ }
|
|
|
}
|
|
|
throw new CommonException(CommonErrorCode.SERVER_IS_ERROR,
|
|
|
sb.toString());
|