Commit f91963c6 authored by sgjj's avatar sgjj

修复一个可能存在的问题

parent 405fc9c6
...@@ -227,7 +227,7 @@ public class CmsParserUtil extends ParserUtil { ...@@ -227,7 +227,7 @@ public class CmsParserUtil extends ParserUtil {
} }
// 判断文件是否存在,若不存在弹出返回信息 // 判断文件是否存在,若不存在弹出返回信息
if (!FileUtil.exist(ParserUtil.buildTempletPath(columnUrl))||StringUtils.isBlank(articleIdList.get(artId).getCategoryId())) { if (!FileUtil.exist(ParserUtil.buildTempletPath(columnUrl))||StringUtils.isBlank(articleIdList.get(artId).getCategoryId())||articleIdList.get(artId).getCategoryType()==null) {
artId++; artId++;
continue; continue;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment