Commit 28269bbf authored by wujj's avatar wujj

变量判空

parent d16a5cea
......@@ -243,7 +243,7 @@ public class GeneraterAction extends BaseAction {
map.put(ParserUtil.HTML, ParserUtil.HTML);
map.put(ParserUtil.URL, BasicUtil.getUrl());
map.put(ParserUtil.PAGE, page);
if(Integer.parseInt(columnId) == 0){
if(StringUtils.isNotEmpty(columnId)){
CategoryEntity categoryEntity = new CategoryEntity();
categoryList = categoryBiz.query(categoryEntity);
for(CategoryEntity category : categoryList){
......
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