diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsArticleController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsArticleController.java index efb2ace..3d7e852 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsArticleController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/cms/controller/CmsArticleController.java @@ -161,7 +161,7 @@ public class CmsArticleController extends JeecgController addJSJLNEW(@RequestBody CmsArticle cmsArticle) { LoginUser principal = (LoginUser) SecurityUtils.getSubject().getPrincipal(); cmsArticle.setCreateBy(principal.getUsername()); - CmsColumn cmsColumn = cmsColumnService.getById(cmsArticle.getColumnId()); + /*CmsColumn cmsColumn = cmsColumnService.getById(cmsArticle.getColumnId());*/ /*cmsArticle.setColumnName(cmsColumn.getName());*/ // if (StringUtils.equals("1", cmsArticle.getStatus())) { cmsArticle.setPublishTime(new Date()); diff --git a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expproject/controller/ExpprojectController.java b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expproject/controller/ExpprojectController.java index 043981c..62f3811 100644 --- a/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expproject/controller/ExpprojectController.java +++ b/jeecg-boot/jeecg-module-demo/src/main/java/org/jeecg/modules/demo/expproject/controller/ExpprojectController.java @@ -126,7 +126,7 @@ public class ExpprojectController { IPage pageList = expprojectService.page(page, queryWrapper); return Result.OK(pageList); } else { - return Result.error("未发现数据"); + return Result.error("您还没参加项目。"); } }