变量判空
This commit is contained in:
parent
d16a5ceac5
commit
28269bbfd2
|
@ -243,7 +243,7 @@ public class GeneraterAction extends BaseAction {
|
||||||
map.put(ParserUtil.HTML, ParserUtil.HTML);
|
map.put(ParserUtil.HTML, ParserUtil.HTML);
|
||||||
map.put(ParserUtil.URL, BasicUtil.getUrl());
|
map.put(ParserUtil.URL, BasicUtil.getUrl());
|
||||||
map.put(ParserUtil.PAGE, page);
|
map.put(ParserUtil.PAGE, page);
|
||||||
if(Integer.parseInt(columnId) == 0){
|
if(StringUtils.isNotEmpty(columnId)){
|
||||||
CategoryEntity categoryEntity = new CategoryEntity();
|
CategoryEntity categoryEntity = new CategoryEntity();
|
||||||
categoryList = categoryBiz.query(categoryEntity);
|
categoryList = categoryBiz.query(categoryEntity);
|
||||||
for(CategoryEntity category : categoryList){
|
for(CategoryEntity category : categoryList){
|
||||||
|
|
Loading…
Reference in New Issue