mingsoft 4 년 전
부모
커밋
9a24895ade
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main/java/net/mingsoft/cms/action/ContentAction.java

+ 1 - 1
src/main/java/net/mingsoft/cms/action/ContentAction.java

@@ -246,7 +246,7 @@ public class ContentAction extends BaseAction {
 			CategoryEntity categoryEntity = categoryBiz.getById(contents.get(i).getCategoryId());
 			//如果栏目绑定的模型ID为空
 			if (categoryEntity.getMdiyModelId() == null){
-				break;
+				continue;
 			}
 			//获取到配置模型实体
 			ModelEntity modelEntity = modelBiz.getById(categoryEntity.getMdiyModelId());