|
@@ -43,7 +43,7 @@ public class TransDispatch {
|
|
|
Map<String, Object> contentDetail = Maps.newHashMap();
|
|
|
for (MedrecVo i : queryVo.getMedrec()) {
|
|
|
for (String smallTitle : smallTitles) {
|
|
|
- if (i.getTitle().equals(smallTitle)) {
|
|
|
+ if (i.getTitle() != null && i.getTitle().equals(smallTitle)) {
|
|
|
contentDetail.put(smallTitle, i.getContent().get("content"));
|
|
|
}
|
|
|
}
|