From b55040c4f9a8b48155a646f057c2337ea14020c4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=8E=8B=E5=AE=B6=E4=B8=9C?= <1654135867@qq.com> Date: Mon, 11 Nov 2024 10:03:40 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E6=9C=AF=E4=BA=A4=E6=B5=81=E6=9C=8D?= =?UTF-8?q?=E5=8A=A1=E5=8A=9F=E8=83=BD=E6=B7=BB=E5=8A=A0bug=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jeecg/modules/demo/cms/controller/CmsArticleController.java | 2 +- .../demo/expproject/controller/ExpprojectController.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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("您还没参加项目。"); } }